'Declaration
Public Overloads Function ConvertToPDFA( _ ByVal FilePath As String, _ ByVal Conformance As PdfConversionConformance, _ ByVal AllowVectorization As Boolean, _ ByVal AllowRasterization As Boolean, _ ByVal TimeoutMillisec As Integer _ ) As GdPictureStatus
public GdPictureStatus ConvertToPDFA( string FilePath, PdfConversionConformance Conformance, bool AllowVectorization, bool AllowRasterization, int TimeoutMillisec )
public function ConvertToPDFA( FilePath: String; Conformance: PdfConversionConformance; AllowVectorization: Boolean; AllowRasterization: Boolean; TimeoutMillisec: Integer ): GdPictureStatus;
public function ConvertToPDFA( FilePath : String, Conformance : PdfConversionConformance, AllowVectorization : boolean, AllowRasterization : boolean, TimeoutMillisec : int ) : GdPictureStatus;
public: GdPictureStatus ConvertToPDFA( string* FilePath, PdfConversionConformance Conformance, bool AllowVectorization, bool AllowRasterization, int TimeoutMillisec )
public: GdPictureStatus ConvertToPDFA( String^ FilePath, PdfConversionConformance Conformance, bool AllowVectorization, bool AllowRasterization, int TimeoutMillisec )
Parameters
- FilePath
- The file path where the converted PDF document will be saved. If the specified file already exists, it will be overwritten.
You are allowed to overwrite the currently opened PDF document only if the document has been loaded into memory setting the LoadInMemory parameter to true in the previously called LoadFromFile method.
- Conformance
- A member of the PdfConversionConformance enumeration. Specifies the required conformance level of the converted PDF document.
- AllowVectorization
- Set this parameter to true, if you want to let the conversion engine use the page vectorization when the direct conversion is not possible. Otherwise set it to false. Vectorization produces vector based graphic elements where applicable, for example, fonts and paths, and combines them with image resources.
The recommended value is true.
- AllowRasterization
- Set this parameter to true, if you want to let the conversion engine use the page rasterization when the direct conversion and vectorization are not possible or allowed. Otherwise set it to false. Rasterization renders the document content using the raster (pixel-based) approach.
The recommended value is true.
- TimeoutMillisec
Return Value
We strongly recommend always checking this status first.