CADability dotNET

The Text type exposes the following members.

Properties

  NameDescription
Public propertyAlignment
Sets or gets the horizontal (or in direction of LineDirection) alignement of the text.
Public propertyBold
Gets or sets the bold property of the text font.
Public propertyColorDef
Public propertyFont
Gets or sets the font used for this text object
Public propertyGlyphAngle
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.
Public propertyGlyphDirection
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.
Public propertyItalic
Gets or sets the italic property of the text font.
Public propertyLineAlignment
Sets or gets the vertical alignement of the text.
Public propertyLineDirection
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.
Public propertyLocation
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.
Public propertyPreferredStyle (Overrides IGeoObjectImpl..::..PreferredStyle.)
Public propertyStrikeout
Gets or sets the strikeout property of the text font.
Public propertyTextSize
Gets or sets the size of this text object.
Public propertyTextString
Gets or sets the text string that is displayed with this object.
Public propertyUnderline
Gets or sets the underline property of the text font.

See Also