'Declaration
Public Overloads Function ConvertToPDFA( _ ByVal FilePath As String, _ ByVal Conformance As PdfConversionConformance, _ ByVal AllowVectorization As Boolean, _ ByVal AllowRasterization As Boolean _ ) As GdPictureStatus
public GdPictureStatus ConvertToPDFA( string FilePath, PdfConversionConformance Conformance, bool AllowVectorization, bool AllowRasterization )
public function ConvertToPDFA( FilePath: String; Conformance: PdfConversionConformance; AllowVectorization: Boolean; AllowRasterization: Boolean ): GdPictureStatus;
public function ConvertToPDFA( FilePath : String, Conformance : PdfConversionConformance, AllowVectorization : boolean, AllowRasterization : boolean ) : GdPictureStatus;
public: GdPictureStatus ConvertToPDFA( string* FilePath, PdfConversionConformance Conformance, bool AllowVectorization, bool AllowRasterization )
public: GdPictureStatus ConvertToPDFA( String^ FilePath, PdfConversionConformance Conformance, bool AllowVectorization, bool AllowRasterization )
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 GdPicturePDF.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.
Return Value
We strongly recommend always checking this status first.