←Select platform

ConvertToDocumentFile Method

Summary

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

Syntax
C#

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

Remarks

Use this class to convert a document or image file stream into any output format. Will use OCR if the input is an image and the output is a document and will use SVG conversion if the input is a document and the output is a document.

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

Leadtools.CloudServices Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.