Leadtools.Documents Namespace > DocumentText Object : TextExtractionMode Property |
get_textExtractionMode();
set_textExtractionMode(value);
Object.defineProperty('textExtractionMode');
Type | Description |
---|---|
DocumentTextExtractionMode | The mode to use when extracting text from this document. Default value is DocumentTextExtractionMode.Auto. |
TextExtractionMode is used to control how GetText extracts the text from the page.
If the value of TextExtractionMode is DocumentTextExtractionMode.Auto or DocumentTextExtractionMode.OcrOnly then an OCR engine instance is required in order to extract the text correcly. This instance must be setup in the server prior to calling GetText.
DocumentImages.IsSvgSupported is used to determine whether the document supports extracting text usign SVG.
For more information, refer to Parsing Text with the Documents Library.