Converts the stream input to the desired DocumentFormat according to the LoadDocumentOptions class.
public string ConvertToDocumentFile(
Stream input,
LoadDocumentOptions documentOptions,
DocumentFormat outputFormat,
IOcrEngine ocrEngine,
string workingDirectory
)
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.
Returns a temp file containing the converted document.
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.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document