←Select platform

Convert(string,LoadDocumentOptions,RasterImageFormat,DocumentFormat) Method

Summary

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

Syntax
C#
VB
C++
Public Function Convert( 
   ByVal input As String, 
   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 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.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.CloudServices Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.