Search
ShapeNode.ShapeOrientation Property
See Also
 





Gets or sets the angle specifying the orientation with which a shape template is applied to the node bounds.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public float ShapeOrientation { get; set; }

Visual Basic  Copy Code

Public Property ShapeOrientation As Single

 Property Value

A float value specifying the orientation angle in degrees. Initialized with the value of ShapeOrientation.

 Remarks

That property does not rotate the node, that is, does not rotate the bounding rectangle of the node around its center. It specifies a rotation transformation to be performed on the definition of the Shape when it is applied to a node; the node's bounding rectangle (location, width and height) remain intact. In the current MindFusion.Diagramming version, only 0, 90, 180 or 270 can be set as value of ShapeOrientation.

 See Also