MindFusion.Wpf Pack Programmer's Guide
ScriptHelper Members
Constructors Methods
 


Allows calling some static Diagramming for WPF 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 Diagramming for WPF object given its class name.

CreateSolidColorBrush

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

ScriptHelper Class
MindFusion.Diagramming.Wpf Namespace