Class LabelInformation
This class represents the location of a piece of a label that may be drawn.
public class LabelInformation
- Inheritance
-
LabelInformation
- Inherited Members
Remarks
This class is used within the labeling logic, specifically in the labeling candidate. The object may represent an entire label or, in the case of a label spline, a single character in the label.
Constructors
LabelInformation()
This is the constructor for the class.
public LabelInformation()
Remarks
If you use this constructor, you should set the various properties manually.
LabelInformation(ScreenPointF, string, double)
This is the constructor for the class.
public LabelInformation(ScreenPointF positionInScreenCoordinates, string text, double rotationAngle)
Parameters
positionInScreenCoordinates
ScreenPointFThis parameter is the position of the label that may draw.
text
stringThis parameter is the text for the label.
rotationAngle
doubleThis parameter is the angle of rotation for the label.
Remarks
None
Properties
PositionInScreenCoordinates
This property gets and sets the position of a piece of a label, in screen coordinates.
public ScreenPointF PositionInScreenCoordinates { get; set; }
Property Value
- ScreenPointF
This property gets the position of a piece of a label, in screen coordinates.
Remarks
None
RotationAngle
This property gets and sets the angle of rotation for the label.
public double RotationAngle { get; set; }
Property Value
- double
This property gets the angle of rotation for the label.
Remarks
This could be the rotation of the entire label text, a single character, or a set of characters.
Text
This property gets and sets the text of the label.
public string Text { get; set; }
Property Value
- string
This property gets the text of the label.
Remarks
This may be the entire label text or a single character.