• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class TextContent

A text content element returned by the content-stream interpreter. Represents a single text-showing operator (Tj / TJ / ' / ").

Inheritance
object
ContentElement
TextContent
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
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
ContentElement.Bounds

ElementType

The type of this content element.

Declaration
public override ContentElementType ElementType { get; }
Property Value
Type Description
ContentElementType
Overrides
ContentElement.ElementType

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
Overrides
object.ToString()
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX