←Select platform

ConvertToRasterFile Method

Summary

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

Syntax
C#
public IEnumerable<string> ConvertToRasterFile( 
   Stream input, 
   LoadDocumentOptions documentOptions, 
   RasterImageFormat outputFormat, 
   string workingDirectory 
) 

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.

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 an IEnumerable string.

Remarks

The returnedIEnumerable string will contain either 1 filename if the output format is multipage or multiple filenames if the input was multipage and the output format selected is single-page.

Requirements

Target Platforms

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

Leadtools.CloudServices Assembly