Leadtools.Documents Namespace : DocumentTextExtractionMode Enumeration |
Leadtools.Documents.DocumentTextExtractionMode = function() { };
Leadtools.Documents.DocumentTextExtractionMode.prototype = {
auto = 0,
svgOnly = 1,
ocrOnly = 2,
};
Value | Member | Description |
---|---|---|
0 | auto | Automatic. This depends on the document type, if it supports SVG, then SVG is used, otherwise, use OCR (if available). |
1 | svgOnly | Use SVG only if the document supports it. Otherwise, do not extract text. |
2 | ocrOnly | Use OCR always even if the document supports SVG. |
DocumentTextExtractionMode is used as the type of the DocumentText.TextExtractionMode to control how GetText extracts the text from the page.
For more information, refer to Parsing Text with the Documents Library.