←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, 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 will 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 21.0.2020.8.24
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.CloudServices Assembly