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
)
Public Shared Sub ToPdf (
doc As PDFDoc,
filePath As String
)
public:
static void ToPdf(
[InAttribute] PDFDoc^ doc,
[InAttribute] String^ filePath
)
pdftron.PDF.Convert.ToPdf = function(doc, 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