Specifies the position and alignment of links' labels.
Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming
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. |
|
MiddleSegment |
The text is displayed horizontally above the middle link segment. If there are an even number of segments, the label is drawn over the longer from the two segments adjacent to the middle control point. |
|
MiddleSegmentRotated |
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. |
|
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.
NetDiagram Programmer's Guide | © 2023 MindFusion |