TextShape Properties

The TextShape type exposes the following members.

Properties
  NameDescription
Public propertyBlendMode
The blend mode used by this shape. (default is BlendMode.Inherit)
(Inherited from ContentShape.)
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 propertyBoundingBox
The size of the textshape after rotation is applied.
Public propertyBrush
The brush that is used to fill this text. (default = Black - SolidBrush)
Public propertyCharacterSpacing
Get or set the character spacing. This is the extra spacing (in points) occupied by each character. Default is 0 (no extra spacing).
Public propertyDock
How this shape is docked.
(Inherited from Shape.)
Public propertyDoubleUnderline
Get or set if the text shape is rendered with a double underline.
Public propertyFont
Text is typeset using this font.
Public propertyFontSize
Size of font in points.
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 propertyMargin
Get or set the margin of a shape.
(Inherited from Shape.)
Public propertyMeasuredHeight
The measured height is the space that will be used when drawing this shape on the page.
Public propertyMeasuredWidth
The measured width is the space that will be used when drawing this shape on the page.
Public propertyOpacity
The opacity (0...255) which must be used for this shape. Default is 255 (fully opaque).
(Inherited from ContentShape.)
Public propertyOverline
Get or set if the text shape is rendered with an overline.
Public propertyPen
Used to draw the curves on this text. (default = null)
Public propertyReadDirection
Read direction of this text (left-to-right or right-to-left).
Public propertyRenderingIntent
Gets or sets the rendering intent (default is RenderingIntent.RelativeColorimetric).
(Inherited from ContentShape.)
Public propertyStrikeOut
Get or set if the text shape is rendered striked out.
Public propertyText
Display this text.
Public propertyTransform
Apply this transformation to the content shape before rendering.
(Inherited from ContentShape.)
Public propertyUnderline
Get or set if the text shape is rendered with an underline.
Public propertyWordSpacing
Get or set the word spacing. This is the extra spacing (in points) occupied by each space character. Default is 0 (no extra spacing).
Public propertyX
X-position of the lower-left corner, center or start point (depending on shape type).
(Inherited from ContentShape.)
Public propertyY
Y-position of the lower-left corner, center or start point (depending on shape type).
(Inherited from ContentShape.)
Top
See Also