Converts the stream input to the desired RasterImageFormat according to the LoadDocumentOptions.
public IEnumerable<Stream> ConvertToRaster(
Stream input,
LoadDocumentOptions documentOptions,
RasterImageFormat outputFormat,
string workingDirectory
)
Public Function ConvertToRaster(
ByVal input As Stream,
ByVal documentOptions As LoadDocumentOptions,
ByVal outputFormat As RasterImageFormat,
ByVal workingDirectory As String
) As IEnumerable(Of 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.
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 an IEnumerable stream.
The returnedIEnumerable stream will contain either 1 stream if the output format is multipage or multiple streams if the input was multipage and the output format selected is single-page.
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