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
Name | Value | Description |
---|---|---|
Pure | 0 | Represent pdf content with a bit of formatting routines. |
Raw | 1 | Represent pdf content as is, i.e. without formatting. |
Flatten | 2 | Represent 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. |
MemorySaving | 3 | Extraction with memory saving. It is almost same to ‘Raw’ mode but works slightly faster and uses less memory. |
See Also
- class TextExtractionOptions
- namespace Aspose.Pdf.Text
- assembly Aspose.PDF