ImageGear .NET
WorkerConvertDocument Method




IntPtr inputLocation.
Output file path.
Type of the output file.
Convert loaded document to specified output pdf file.
Syntax
'Declaration
 
<DllImportAttribute("ImageGear23.Formats.Office.workerexport.dll")>
<PreserveSigAttribute()>
Public Shared Function WorkerConvertDocument( _
   ByVal inputLocation As IntPtr, _
   ByVal outputFileName As String, _
   ByVal outputFileType As Integer _
) As Integer
'Usage
 
Dim inputLocation As IntPtr
Dim outputFileName As String
Dim outputFileType As Integer
Dim value As Integer
 
value = WorkerImports.WorkerConvertDocument(inputLocation, outputFileName, outputFileType)
[DllImport("ImageGear23.Formats.Office.workerexport.dll")]
[PreserveSig()]
public static int WorkerConvertDocument( 
   IntPtr inputLocation,
   string outputFileName,
   int outputFileType
)
[DllImport("ImageGear23.Formats.Office.workerexport.dll")]
[PreserveSig()]
public: static int WorkerConvertDocument( 
   IntPtr inputLocation,
   string* outputFileName,
   int outputFileType
) 
[DllImport("ImageGear23.Formats.Office.workerexport.dll")]
[PreserveSig()]
public:
static int WorkerConvertDocument( 
   IntPtr inputLocation,
   String^ outputFileName,
   int outputFileType
) 

Parameters

inputLocation
IntPtr inputLocation.
outputFileName
Output file path.
outputFileType
Type of the output file.

Return Value

Error code.
See Also

Reference

WorkerImports Class
WorkerImports Members

 

 


©2017. Accusoft Corporation. All Rights Reserved.

Send Feedback