Converts the stream input to the desired DocumentFormat according to the LoadDocumentOptions.
public Stream ConvertToDocument(
Stream input,
LoadDocumentOptions documentOptions,
DocumentFormat outputFormat,
IOcrEngine ocrEngine,
string workingDirectory
)
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
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 stream containing the converted 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