Click or drag to resize
Pdftools logo

TextOptions Class

Options for text extraction

This class specifies the details of text extraction.
Inheritance Hierarchy
SystemObject
  PdfTools.InternalNativeBase
    PdfTools.InternalNativeObject
      PdfTools.ExtractionTextOptions

Namespace: PdfTools.Extraction
Assembly: PdfTools (in PdfTools.dll) Version: 1.13.1+c1edd0fb6162605291bc60916112af48eb301945
Syntax
C#
public class TextOptions : NativeObject

The TextOptions type exposes the following members.

Constructors
 NameDescription
Public methodTextOptions 
Top
Properties
 NameDescription
Public propertyAdvanceWidth

The horizontal space in a PDF that corresponds to a character in monospaced text output.

If , the horizontal space is 7.2pt.

Default value:

Public propertyExtractionFormat

Format of the extracted text.

Specifies the format of the extracted text.

Default value: DocumentOrder

Public propertyLineHeight

The vertical space in a PDF that triggers a new line in monospaced text output.

If , no extra blank lines are added in the text output.

Default value:

Public propertyWordSeparationFactor

This parameter defines a factor multiplied by the width of the space character to determine word boundaries. If the distance between two characters exceeds this calculated value, it is recognized as a word separation.

Default value: 0.3

Top
Methods
 NameDescription
Public methodEquals
(Inherited from NativeObject)
Public methodGetHashCode
(Inherited from NativeObject)
Top
See Also