ASP.NET Pack Programmer's Guide
Canvas.create Method
See Also
 





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

Namespace: MindFusion.Drawing
Package: Canvas.js

 Syntax

JavaScript  Copy Code

function create (element)

 Parameters

element

The DOM element that the diagram should be attached to.

 Return Value

Type: Canvas
A Canvas object that represents the newly created canvas.

 Remarks

This method is a shortcut method for Sys.Component.create and can be used to enable IntelliSense on the returned object.

 See Also

Canvas Members
Canvas Class
MindFusion.Drawing Namespace