.NET Framework Class Library
DocumentConverter.ConvertToFile Method (String, String, EncoderSettings, ConverterSettings, String)
|
<< Click to Display Table of Contents >> Navigation: Gnostice Document Studio .NET > Reference Documentation > API Reference > Gnostice.Converter Namespace > DocumentConverter Class > DocumentConverter Methods > ConvertToFile Method > DocumentConverter.ConvertToFile Method (String, String, EncoderSettings, ConverterSettings, String) |
Converts document from specified file to specified format and saves it to specified file.
Namespace: Gnostice.Converter
Assembly: Gnostice.Converter (in Gnostice.Converter.dll)
Visual Basic |
Public Sub ConvertToFile ( _ |
C# |
public void ConvertToFile( |
Visual C++ |
public: |
inputDocument
Type: System.String
Pathname of the document that needs to be converted.
outputDocument
Type: System.String
Pathname of the file to which the converted document needs to be saved to.
encoderSettings (Optional)
Type: Gnostice.Core.EncoderSettings
Format\-specific conversion settings with which the document needs to be converted.
converterSettings (Optional)
Type: Gnostice.Converter.ConverterSettings
Conversion settings with which the document needs to be converted.
inputDocPassword (Optional)
Type: System.String
Password with which the document needs to be opened if it is encrypted.