Search
ScriptHelper Members
Constructors Methods
 


Allows calling some static NetDiagram methods from JavaScript and VBScript. It seems the script languages do not allow calling class static methods, so a ScriptHelper instance property is provided by the Diagram class.

The following tables list the members exposed by the ScriptHelper type.

 Public Constructors

  Name Description

ScriptHelper

Initializes a new instance of the ScriptHelper class.

 Public Methods

  Name Description

ApplyLayout

Applies the specified layout to the underlying diagram.

CreateObject

Creates a NetDiagram object given its class name.

CreateSolidBrush

Creates a solid brush with the specified color components.

NodesIntersect

Calculates whether the specified nodes' outlines intersect.

ShapeTemplateFromId

Returns the Shape having the specified identifier.

 See Also