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

Class TextOptions

Options controlling text extraction from a PDF page.

Inheritance
object
TextOptions
Inherited Members
object.ToString()
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 TextOptions

Constructors

TextOptions()

Initializes a new instance with default options.

Declaration
public TextOptions()

TextOptions(TextWhitespaceHandling, TextOrder)

Initializes a new instance with the specified whitespace handling and reading order.

Declaration
public TextOptions(TextWhitespaceHandling whitespaceHandling, TextOrder readingOrder)
Parameters
Type Name Description
TextWhitespaceHandling whitespaceHandling
TextOrder readingOrder

Properties

IncludeMarkedContentTags

Gets or sets whether to include marked-content tags in the extracted text. Default is false.

Declaration
public bool IncludeMarkedContentTags { get; set; }
Property Value
Type Description
bool

ReadingOrder

Gets or sets the reading order. Default is Stream.

Declaration
public TextOrder ReadingOrder { get; set; }
Property Value
Type Description
TextOrder

WhitespaceHandling

Gets or sets the whitespace handling mode. Default is Preserve.

Declaration
public TextWhitespaceHandling WhitespaceHandling { get; set; }
Property Value
Type Description
TextWhitespaceHandling
Back to top

DR-IT Software documentation

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

Generated by DocFX