Represents a label displayed by a DiagramLink. New labels can be added to a link by calling the DiagramLink.AddLabel method.
The following tables list the members exposed by the LinkLabel type.
Name | Description | |
---|---|---|
Overloaded. Initializes a new instance of the LinkLabel class. |
Name | Description | |
---|---|---|
Gets or sets a value indicating whether the label can be auto arranged. |
||
Gets or sets the brush used to draw the label's background. |
||
Gets or sets a value indicating whether the label's text can be wrapped. |
||
Gets or sets the label's font. |
||
Gets or sets the label's horizontal alignment. |
||
Gets or sets the label's horizontal offset. |
||
Gets or sets the index of the segment or control point this label is relative to. |
||
Gets or sets the DiagramLink that displays this label. |
||
Gets or sets the label's margin size. |
||
Gets or sets the maximum width of the label. |
||
Gets or sets the label's relative positioning. |
||
Gets or sets the label's text. |
||
Gets or sets the brush used to draw the label's text. |
||
Gets or sets the label's vertical alignment. |
||
Gets or sets the label's vertical offset. |
Name | Description | |
---|---|---|
Creates a clone of this label. |
||
Draws the link label on the specified IGraphics surface. |
||
InplaceEditable.GetEditRect implementation. |
||
InplaceEditable.GetTextToEdit implementation. |
||
Loads the label from the specified XML element. |
||
Saves the label into the specified XML element. |
||
Positions this label relatively to the specified control point. |
||
InplaceEditable.SetEditedText implementation. |
||
Positions this label relatively to the link length. |
||
Positions this label relatively to the specified link segment. |
Name | Description | |
---|---|---|
Loads the label from a JSON object. |
||
Returns a point lying on a polyline that is positioned at a relative position along the polyline's length. |
||
Saves the label as a JSON object. |