←Select platform

ConvertToDocument Method

Summary

Converts the stream input to the desired DocumentFormat according to the LoadDocumentOptions

Syntax
C#
VB
Public Function ConvertToDocument( 
   ByVal input As Stream, 
   ByVal documentOptions As LoadDocumentOptions, 
   ByVal outputFormat As DocumentFormat, 
   ByVal ocrEngine As IOcrEngine, 
   ByVal workingDirectory As String 
) As Stream 

Parameters

input

Stream input containing the image or document to convert.

documentOptions

The document options to use when loading the input.

outputFormat

The desired output format to convert the input to.

ocrEngine

The OCR Engine instance to use when doing OCR conversion.

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 stream containing the converted document.

Requirements

Target Platforms

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

Leadtools.CloudServices Assembly