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
C#
![]() |
---|
public double ShapeOrientation { get; set; } |
Visual Basic
![]() |
---|
Public Property ShapeOrientation As Double |
A double value specifying the orientation angle in degrees. Initialized with the value of ShapeOrientation.
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.
WpfDiagram Programmer's Guide | © 2025 MindFusion |