Search
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
Introduction
General Information
What's New In This Release
Version History
Getting Started
Code Completion With VSDoc IntelliSense
Programming Interface Overview
Tutorials
Reference
MindFusion.Common
MindFusion.Common.Collections
MindFusion.Controls
Alignment Enumeration
CancelEventArgs Class
Canvas Class
CanvasControl Class
Control Class
Disposable Class
DomUtils Class
EventArgs Class
MouseButton Enumeration
MouseCursors Enumeration
TickPosition Enumeration
ZoomControl Class
ZoomControl Members
ZoomControl Constructor
ZoomControl Methods
create Method
find Method
ZoomControl Properties
MindFusion.Scheduling
Licensing
Online Resources
Technical Support
MindFusion Products

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
Assembly: ZoomControl.js

## Syntax

JavaScript Copy Code
function create (element)

### Parameters

element

  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