Search
Ruler.create Method
See Also
 





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

Namespace: MindFusion.Diagramming
File: Ruler.js

 Syntax

JavaScript  Copy Code

function create (element)

 Parameters

element

HTMLDivElement. The DOM element that the ruler should be attached to.

 Return Value

A Ruler object that represents the newly created ruler.

 See Also