Enum TextExtractionOptions.TextFormattingMode

TextExtractionOptions.TextFormattingMode enumeration

Defines different modes which can be used while converting pdf document into text. See !:TextDevice class.

public enum TextFormattingMode

Values

NameValueDescription
Pure0Represent pdf content with a bit of formatting routines.
Raw1Represent pdf content as is, i.e. without formatting.
Flatten2Represent pdf content with positioning text fragments by their coordinates. It is basically similar to “Raw” mode. But while “Raw” focuses on preserving the structure of text fragments (operators) in a document, “Flatten” focuses on keeping text in the order it is read.
MemorySaving3Extraction with memory saving. It is almost same to ‘Raw’ mode but works slightly faster and uses less memory.

See Also