Click or drag to resize

ConvertToPdf Method

Converts the file or document to PDF and append to the specified PDF document.

Namespace:  pdftron.PDF
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public static void ToPdf(
	PDFDoc doc,
	string filePath
)

Parameters

doc
Type: pdftron.PDFPDFDoc
The PDFDoc to append the converted document to.
filePath
Type: SystemString
The full path to the file to convert.
Remarks

Supported formats include BMP, EMF, JPEG, PNG, TIF, XPS.

This method is only retained for compatibility. It is recommended to use the asynchronous version of this method: ToPdfAsync.

See Also