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.Wpf
Assembly: MindFusion.Diagramming.Wpf

 Syntax

C#  Copy Code

public double ShapeOrientation { get; set; }

Visual Basic  Copy Code

Public Property ShapeOrientation As Double

 Property Value

A double 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 WpfDiagram version, only 0, 90, 180 or 270 can be set as value of ShapeOrientation.

 See Also