CADability dotNET

The Text type exposes the following members.

Constructors

  NameDescription
Protected methodText()()()()
Protected methodText(SerializationInfo, StreamingContext)
Constructor required by deserialization

Methods

  NameDescription
Public methodClone
Overrides Clone()()()()
(Overrides IGeoObjectImpl..::..Clone()()()().)
Public methodStatic memberConstruct
Public methodCopyGeometry (Overrides IGeoObjectImpl..::..CopyGeometry(IGeoObject).)
Public methodGet2DRepresentation (Overrides IGeoObjectImpl..::..Get2DRepresentation(Projection, GDIResources).)
Public methodGetAttributeProperties (Overrides IGeoObjectImpl..::..GetAttributeProperties(IFrame).)
Public methodGetBoundingCube (Overrides IGeoObjectImpl..::..GetBoundingCube()()()().)
Public methodGetExtent(Double) (Overrides IGeoObjectImpl..::..GetExtent(Double).)
Public methodGetExtent(Projection, ExtentPrecision) (Overrides IGeoObjectImpl..::..GetExtent(Projection, ExtentPrecision).)
Public methodGetObjectData
Public methodGetQuadTreeItem (Overrides IGeoObjectImpl..::..GetQuadTreeItem(Projection, ExtentPrecision).)
Public methodGetShowProperties (Overrides IGeoObjectImpl..::..GetShowProperties(IFrame).)
Public methodHitTest(BoundingCube%, Double) (Overrides IGeoObjectImpl..::..HitTest(BoundingCube%, Double).)
Public methodHitTest(Projection..::..PickArea, Boolean) (Overrides IGeoObjectImpl..::..HitTest(Projection..::..PickArea, Boolean).)
Public methodHitTest(Projection, BoundingRect, Boolean) (Overrides IGeoObjectImpl..::..HitTest(Projection, BoundingRect, Boolean).)
Public methodModify
Overrides Modify(ModOp)
(Overrides IGeoObjectImpl..::..Modify(ModOp).)
Public methodPaintTo3D (Overrides IGeoObjectImpl..::..PaintTo3D(IPaintTo3D).)
Public methodPaintTo3DList (Overrides IGeoObjectImpl..::..PaintTo3DList(IPaintTo3D, ICategorizedDislayLists).)
Public methodPosition (Overrides IGeoObjectImpl..::..Position(GeoPoint, GeoVector, Double).)
Public methodPrePaintTo3D (Overrides IGeoObjectImpl..::..PrePaintTo3D(IPaintTo3D).)
Public methodPrepareDisplayList (Overrides IGeoObjectImpl..::..PrepareDisplayList(Double).)
Public methodSetBounds
Modifies the direction, size and aspect ratio of the text so that the text will fit inside the parallelogram defined by the provided parameters.

Fields

  NameDescription
Public fieldStatic memberConstructor
Public fieldStatic memberOnPaintTo3D

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.

Explicit Interface Implementations

  NameDescription
Explicit interface implemetationPrivate methodIColorDef..::..SetTopLevel

See Also