Error processing SSI file
LEADTOOLS Leadtools.Documents (Leadtools.Documents assembly)

Show in webframe

TextExtractionMode Property






Mode to use when extracting text from this document.
Syntax
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);
}

Property Value

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

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.

Example

For an example, refer to DocumentText.AutoParseLinks.

Requirements

Target Platforms

See Also

Reference

DocumentText Class
DocumentText Members

Error processing SSI file
   Leadtools.Documents requires a Document or Medical toolkit license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features