'Declaration
Public Overloads Function ConvertToPDFUA( _ ByVal FilePath As String, _ ByVal Conformance As PdfConversionConformance, _ ByVal TimeoutMillisec As Integer _ ) As GdPictureStatus
public GdPictureStatus ConvertToPDFUA( string FilePath, PdfConversionConformance Conformance, int TimeoutMillisec )
public function ConvertToPDFUA( FilePath: String; Conformance: PdfConversionConformance; TimeoutMillisec: Integer ): GdPictureStatus;
public function ConvertToPDFUA( FilePath : String, Conformance : PdfConversionConformance, TimeoutMillisec : int ) : GdPictureStatus;
public: GdPictureStatus ConvertToPDFUA( string* FilePath, PdfConversionConformance Conformance, int TimeoutMillisec )
public: GdPictureStatus ConvertToPDFUA( String^ FilePath, PdfConversionConformance Conformance, 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 GdPicturePDF.LoadFromFile method.
- Conformance
- A member of the PdfConversionConformance enumeration. Specifies the required conformance level of the converted PDF document. Currently, PDF_UA_1 is the only valid option.
- TimeoutMillisec
- The time interval, in other words timeout, in milliseconds, that specifies the maximum time allowed for the whole conversion process before it is automatically interrupted. Use 0 to specify no timeout.
Return Value
We strongly recommend always checking this status first.