public static final class TextExtractionOptions.TextFormattingMode
extends com.aspose.ms.System.Enum
Defines different modes which can be used while converting pdf document into text. See
TextDevice
class.
Modifier and Type | Field and Description |
---|---|
static int |
Flatten
Represent pdf content with positioning text fragments by their coordinates.
|
static int |
MemorySaving
Extraction with memory saving.
|
static int |
Pure
Represent pdf content with a bit of formatting routines.
|
static int |
Raw
Represent pdf content as is, i.e.
|
public static final int Pure
Represent pdf content with a bit of formatting routines.
public static final int Raw
Represent pdf content as is, i.e. without formatting.
public static final int Flatten
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.
public static final int MemorySaving
Extraction with memory saving. It is almost same to 'Raw' mode but works slightly faster and uses less memory.
Copyright © 2024 Aspose. All Rights Reserved.