The TextShape type exposes the following members.

Properties

  NameDescription
Public propertyBold
If set, the text appears bold. Note that the boldness is simulated by using a thicker stroke. It is preferrable to use a bold font if possible. E.g. use arialbd.ttf for bold Arial and arial.ttf for regular Arial. This property is ignored if applied to a Bold font.
Public propertyBottomMargin
Extra space below this shape (only useful in combination with docking).
(Inherited from Shape.)
Public propertyBoundingBox
The size of the textshape after rotation is applied.
Public propertyDirection
Read direction of this text (left-to-right or right-to-left).
Public propertyDock
How this shape is docked.
(Inherited from Shape.)
Public propertyFont
Text is typeset using this font.
Public propertyFontSize
Size of font in points.
Public propertyHeight
The measured height is the space that will be used when drawing this shape on the page.
Public propertyID
This Identifier (ID) can be used to track which shape raise an exception.
(Inherited from Shape.)
Public propertyItalic
If set, the text appears italic. Note that the italicness is simulated by skewing the text slightly. It is preferrable to use an italic font if possible. E.g. use ariali.ttf for italic Arial and arial.ttf for regular Arial. This property is ignored if applied to an Italic font.
Public propertyLeftMargin
Extra space to the left of this shape (only useful in combination with docking).
(Inherited from Shape.)
Public propertyOpacity
The opacity (0...255) which must be used for this shape. Default is 255 (fully opaque).
(Inherited from Shape.)
Public propertyRightMargin
Extra space to the right of this shape (only useful in combination with docking).
(Inherited from Shape.)
Public propertyRotation
Amount of rotation in degrees around the origin of the shape, clockwise.
(Inherited from ContentShape.)
Public propertyRotationOffsetX
Get or set the X-component of the offset to rotation center, relative to the origin of the shape.
(Inherited from ContentShape.)
Public propertyRotationOffsetY
Get or set the Y-component of the offset to rotation center, relative to the origin of the shape.
(Inherited from ContentShape.)
Public propertyText
Display this text.
Public propertyTextColor
Forecolor of text.
Public propertyTopMargin
Extra space above this shape (only useful in combination with docking).
(Inherited from Shape.)
Public propertyWidth
The measured width is the space that will be used when drawing this shape on the page.
Public propertyX
X-position of the lower-left corner, center or start point (depending on shape type).
(Inherited from Shape.)
Public propertyY
Y-position of the lower-left corner, center or start point (depending on shape type).
(Inherited from Shape.)

See Also