Specifies the position and alignment of links' labels.
Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf
C# Copy Code |
---|
public enum LinkTextStyle |
Visual Basic Copy Code |
---|
Public Enum LinkTextStyle |
Member name | Description | |
---|---|---|
Center |
The text is displayed horizontally above the middle link segment or control point, depending on whether there are an odd or even number of segments. |
|
Follow |
The label text starts from the first point of the link and follows the path defined by the link segments. This style is useful for displaying long text. |
|
OverLongestSegment |
The text follows the longest link segment and is displayed centered at the segment's middle point. |
|
Rotate |
The text is displayed rotated at the same angle as the segment where the text is placed. A long enough segment from the middle link segments is chosen for that purpose. |
Values from this enumeration can be assigned to the TextStyle property of links or the LinkTextStyle property of the diagram.
WpfDiagram Programmer's Guide | © 2024 MindFusion |