The TextShape type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| Bold |
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.
| |
| BottomMargin |
Extra space below this shape (only useful in combination with docking).
(Inherited from Shape.) | |
| BoundingBox |
The size of the textshape after rotation is applied.
| |
| Direction |
Read direction of this text (left-to-right or right-to-left).
| |
| Dock |
How this shape is docked.
(Inherited from Shape.) | |
| Font |
Text is typeset using this font.
| |
| FontSize |
Size of font in points.
| |
| Height |
The measured height is the space that will be used when drawing this shape on the page.
| |
| ID |
This Identifier (ID) can be used to track which shape raise an exception.
(Inherited from Shape.) | |
| Italic |
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.
| |
| LeftMargin |
Extra space to the left of this shape (only useful in combination with docking).
(Inherited from Shape.) | |
| Opacity |
The opacity (0...255) which must be used for this shape. Default is 255 (fully opaque).
(Inherited from Shape.) | |
| RightMargin |
Extra space to the right of this shape (only useful in combination with docking).
(Inherited from Shape.) | |
| Rotation |
Amount of rotation in degrees around the origin of the shape, clockwise.
(Inherited from ContentShape.) | |
| RotationOffsetX |
Get or set the X-component of the offset to rotation center, relative to the origin of the shape.
(Inherited from ContentShape.) | |
| RotationOffsetY |
Get or set the Y-component of the offset to rotation center, relative to the origin of the shape.
(Inherited from ContentShape.) | |
| Text |
Display this text.
| |
| TextColor |
Forecolor of text.
| |
| TopMargin |
Extra space above this shape (only useful in combination with docking).
(Inherited from Shape.) | |
| Width |
The measured width is the space that will be used when drawing this shape on the page.
| |
| X |
X-position of the lower-left corner, center or start point (depending on shape type).
(Inherited from Shape.) | |
| Y |
Y-position of the lower-left corner, center or start point (depending on shape type).
(Inherited from Shape.) |