ImageGear .NET v25.2 - Updated
ConvertFile Method (ImGearPowerPointDocument)




ImageGear.Formats.Office Assembly > ImageGear.Formats.Office Namespace > ImGearPowerPointDocument Class : ConvertFile Method
The input file path.
The output file path.
The format of the file to which the document should be resaved.
Resaves a Microsoft PowerPoint document to another Microsoft PowerPoint file format.
Syntax
'Declaration
 
Public Shared Sub ConvertFile( _
   ByVal inputFilePath As String, _
   ByVal outputFilePath As String, _
   ByVal format As ImGearPowerPointFormats _
) 
'Usage
 
Dim inputFilePath As String
Dim outputFilePath As String
Dim format As ImGearPowerPointFormats
 
ImGearPowerPointDocument.ConvertFile(inputFilePath, outputFilePath, format)
public static void ConvertFile( 
   string inputFilePath,
   string outputFilePath,
   ImGearPowerPointFormats format
)
public: static void ConvertFile( 
   string* inputFilePath,
   string* outputFilePath,
   ImGearPowerPointFormats format
) 
public:
static void ConvertFile( 
   String^ inputFilePath,
   String^ outputFilePath,
   ImGearPowerPointFormats format
) 

Parameters

inputFilePath
The input file path.
outputFilePath
The output file path.
format
The format of the file to which the document should be resaved.
Exceptions
ExceptionDescription
Argument inputFilePath does not refer an existing file.
Argument inputFilePath or outputFilePath is an empty string or one of these paths cannot be resolved.
The caller does not have the required permissions.
Argument inputFilePath or outputFilePath is null.
Argument inputFilePath or outputFilePath contains a colon (":") that is not part of a volume identifier.
Argument inputFilePath or outputFilePath is too long.
File conversion error. For additional information see the ErrorCode and Message members of the exception.
See Also

Reference

ImGearPowerPointDocument Class
ImGearPowerPointDocument Members

Is this page helpful?
Yes No
Thanks for your feedback.