Click or drag to resize

TextElement Properties

The TextElement type exposes the following members.

Properties
 NameDescription
Public propertyActualText The exact text this element represents, for content that cannot be extracted as text (for example text drawn as a graphic). Only used when TagType is set.
(Inherited from PageElement)
Public propertyAlternateText The alternate text describing this element, used by assistive technology. Required for Figure elements in a tagged document. Only used when TagType is set.
(Inherited from PageElement)
Public propertyArtifact Marks this element as decorative content (an artifact) in a tagged document: it is left out of the structure tree. Takes precedence over TagType. Has no effect when the document is not tagged.
(Inherited from PageElement)
Public propertyBackColor Gets or sets element background color.
(Inherited from PageGraphicElement)
Public propertyBlending Gets or sets blending mode for transparent rendering mode of the element.
(Inherited from PageGraphicElement)
Public propertyCharacterSpacing Gets or sets an additional spacing between characters.
Public propertyClipRectangle A rectangle to be added to the current cliping path
Public propertyColorSpace Gets or sets color space for element rendering.
(Inherited from PageGraphicElement)
Public propertyForeColor Gets or sets the element foreground color.
(Inherited from PageGraphicElement)
Public propertyGradient The gradient used to fill a shape.
(Inherited from PageGraphicElement)
Public propertyHeight The height of the destination rectangle Is optional
Public propertyIsPaginable This property tells if the text element was constructed as a paginable text element or not.
Public propertyLineSpacing Gets or sets value that indicates the vertical distance between the baselines of adjacent lines of text.
Public propertyLineStyle Gets or sets the line style for elements rendering lines.
(Inherited from PageGraphicElement)
Public propertyPaginate When true the text can be paginated
Public propertyRightToLeftLanguage Set this property true if the text is in a RTL language.
Public propertyRotated A flag to indicate if this element was rotated.
(Inherited from PageGraphicElement)
Public propertyScaled A flag to indicate if this element was scaled.
(Inherited from PageGraphicElement)
Public propertySkewed A flag to indicate if this element was skewed.
(Inherited from PageGraphicElement)
Public propertyTagType The logical structure type of this element in a tagged document (see Tagged). When set, the element content is added to the document structure tree with this type.
(Inherited from PageElement)
Public propertyText The string to be written
Public propertyTextAlign Gets or sets the text alignment.
Public propertyTextAngle Gets or sets an angle to control text counter-clockwise direction. The default value is 0.
Public propertyTextFont The text font
Public propertyTextRise Gets or sets the distance to move the text baseline up or down from its default location. Adjustments to the baseline are useful for drawing superscripts or subscripts. Positive values of text rise move the baseline up and creates a superscript text. Negative values of text rise move the baseline down and creates a subscript text.
Public propertyTranslated A flag to indicate if this element was translated.
(Inherited from PageGraphicElement)
Public propertyTransparency Gets or sets element transparency. The transparency is expressed as a value between 0 and 100. 0 means completely transparent and 100 completely opaque.
(Inherited from PageGraphicElement)
Public propertyVerticalTextAlign Gets or sets the vertical text alignment.
Public propertyWidth The width of destination rectangle
Public propertyWordSpacing Gets or sets an aditional spacing between words. The words separator is consider the space character with code 32
Public propertyX The start x position
Public propertyY The start y position
Top
See Also