Class TextContent
A text content element returned by the content-stream interpreter. Represents a single text-showing operator (Tj / TJ / ' / ").
Inherited Members
Namespace: DRIT.Pdf.Content
Assembly: DRIT.Pdf.dll
Syntax
public sealed class TextContent : ContentElement
Properties
Bounds
Bounding box of this element in the page's user-space coordinate system (origin at lower-left, y-up, units = points).
Declaration
public override PdfRect Bounds { get; }
Property Value
| Type | Description |
|---|---|
| PdfRect |
Overrides
ElementType
The type of this content element.
Declaration
public override ContentElementType ElementType { get; }
Property Value
| Type | Description |
|---|---|
| ContentElementType |
Overrides
Format
Text formatting (font, size, color).
Declaration
public TextElementFormat Format { get; }
Property Value
| Type | Description |
|---|---|
| TextElementFormat |
Methods
ToString()
Returns the Unicode text content of this element.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string |