←Select platform

ExtractText Method

Summary

Extracts all the text found in the input stream.

Syntax
C#
VB
Public Function ExtractText( 
   ByVal input As Stream, 
   ByVal documentOptions As LoadDocumentOptions, 
   ByVal ocrEngine As IOcrEngine, 
   ByVal workingDirectory As String 
) As IList(Of DocumentPageText) 

Parameters

input

Stream input containing the image or document to extract from.

documentOptions

The document options to use when loading the input.

ocrEngine

The OCR Engine instance to use when doing the recognition.

workingDirectory

The path to the directory where temporary work is to be done. If null is passed, the directory will default to the current system temporary folder.

Return Value

Returns a list of DocumentPageText for each page in the document that contains all of the text found in the input stream.

Requirements

Target Platforms

Help Version 21.0.2020.8.24
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.CloudServices Assembly