←Select platform

Convert(Stream,LoadDocumentOptions,RasterImageFormat,DocumentFormat) Method

Summary

Converts the input stream to the RasterImageFormat or DocumentFormat passed with the associated LoadDocumentOptions.

Syntax
C#
VB
C++
Public Function Convert( 
   ByVal input As Stream, 
   ByVal documentOptions As LoadDocumentOptions, 
   ByVal rasterImageFormat As RasterImageFormat, 
   ByVal documentFormat As DocumentFormat 
) As IList(Of String) 

Parameters

input

Input stream containing the Document to convert.

documentOptions

Document options for the conversion.

rasterImageFormat

The desired RasterImageFormat to convert the input to. If a DocumentFormat is desired, must be set to Unknown.

documentFormat

The desired DocumentFormat to convert the input to. If a RasterImageFormat is desired, must be set to User.

Return Value

Returns a list of strings containing the paths to the output documents.

Remarks

This method convert an input into either a RasterImageFormat or a[ DocumentFormat]. If a DocumentFormat is used, the RasterImageFormat must be set to RasterImageFormat.Unknown. If a RasterImageFormat is desired, the DocumentFormat must be set to DocumentFormat.User.

Requirements

Target Platforms

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

Leadtools.CloudServices Assembly