CADability dotNET
The Text type exposes the following members.
Properties
Name | Description | |
---|---|---|
Alignment |
Sets or gets the horizontal (or in direction of LineDirection) alignement of the text.
| |
Bold |
Gets or sets the bold property of the text font.
| |
ColorDef | ||
Font |
Gets or sets the font used for this text object
| |
GlyphAngle |
Gets or sets the angle of the characters vertical direction in respect to the horizontal direction.
The default value is 90°, different angles create different italic fonts.
| |
GlyphDirection |
Gets or sets the direction of the vertical character parts. This direction is usually perpendicular to the
LineDirection, but can be modified to produce italic characters of any angle.
The Italic property in contrary uses the typefont italic capabilities which are more sophisticated.
| |
Italic |
Gets or sets the italic property of the text font.
| |
LineAlignment |
Sets or gets the vertical alignement of the text.
| |
LineDirection |
Gets or sets the line direction of the text. Default is XAxis. Setting the line
direction does not modify the GlyphDirection of the text, so you usually will have to change both.
It also affects the aspect ratio of the text, which is defined by the length of the line direction
and the length of the glyph direction. To simply rotate a text better use Modify(ModOp)
with a Rotate(Int32, SweepAngle) rotation.
| |
Location |
Gets or sets the location of the text. The value of this point is interpretd according to the values of the
[!:Alingnement] and [!:LineAlignement] properties.
| |
PreferredStyle | (Overrides IGeoObjectImpl..::..PreferredStyle.) | |
Strikeout |
Gets or sets the strikeout property of the text font.
| |
TextSize |
Gets or sets the size of this text object.
| |
TextString |
Gets or sets the text string that is displayed with this object.
| |
Underline |
Gets or sets the underline property of the text font.
|