textExtractionMode Property

Summary

Mode to use when extracting text from this document.

Syntax

JavaScript Syntax
Object.defineProperty(DocumentText.prototype, 'textExtractionMode', 
	get: function(), 
	set: function(value) 
) 
TypeScript Syntax
textExtractionMode: DocumentTextExtractionMode; 

Property Value

The mode to use when extracting text from this document. Default value is DocumentTextExtractionMode.Auto.

Remarks

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.

Note that setting this property to a value will update the same value in each child document.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Documents Assembly