Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.4.3
|
Leadtools.Documents Namespace > DocumentText Class : TextExtractionMode Property |
public DocumentTextExtractionMode TextExtractionMode {get; set;}
'Declaration
Public Property TextExtractionMode As DocumentTextExtractionMode
'Usage
Dim instance As DocumentText Dim value As DocumentTextExtractionMode instance.TextExtractionMode = value value = instance.TextExtractionMode
public DocumentTextExtractionMode getTextExtractionMode() public void setTextExtractionMode(DocumentTextExtractionMode value)
public: property DocumentTextExtractionMode TextExtractionMode { DocumentTextExtractionMode get(); void set ( DocumentTextExtractionMode value); }
TextExtractionMode is used to control how DocumentPage.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 correctly. This instance must be set in the OcrEngine property prior to calling DocumentPage.GetText.
DocumentImages.IsSvgSupported is used to determine whether the document supports extracting text using SVG.
For more information, refer to Parsing Text with the Documents Library.
For an example, refer to DocumentText.AutoParseLinks.