API Documentation > 2D interface > Object ProPDF > Function ProPDFExport
Function ProPDFExport
Description
Exports a file to PDF format.
Synopsis
#include <ProPDF.h>
ProPDFExport
(
ProMdl model
/* (In)
The model to export. The model must be displayed in a window. This model must be loaded.
*/
ProPath output_file
/* (In)
The full path to the output file, including the extension.
*/
/* (In)
The options used to generate the PDF file.
*/
)
Returns
The function succeeded.
One or more input arguments was invalid.
Invalid model type specified.
Model not displayed
Cannot find or write to the directory specified.
License for PDF export is not available.
Error occured while processing PDF creation.
Support not available on this platform.
The function does not have permission to operate on this model.
PRO_PDF_ARCHIVE_1 passed for non 2D drawing export
and/or Design Test Mode is active
The function is not available in this mode.
User Guide References
Was this helpful?