MindFusion.Charting for JavaScript Programmer's Guide
ZoomControl.create Method
See Also
Collapse All Expand All Language Filter: All Language Filter: Multiple Language Filter: None Language Filter: C# Language Filter: Visual Basic Language Filter: Java Language Filter: JavaScript Language Filter: C++ Language Filter: XAML

C#
Visual Basic
Java
JavaScript
C++
XAML

Creates and initializes a new ZoomControl from the specified element. This method is static and can be called without creating an instance of the class.

Namespace: MindFusion.Controls
File: ZoomControl.js

## Syntax

JavaScript Copy Code
function create (element)

### Parameters

element

  Type: HTMLCanvasElement
  HTMLCanvasElement. The DOM element that the zoomControl should be attached to.

### Return Value

A ZoomControl object that represents the newly created zoom control.

## See Also

ZoomControl Members
ZoomControl Class
MindFusion.Controls Namespace