Documentazione API > 2D interface > Object ProPDF > Function ProPDFWithProfileExport
Function ProPDFWithProfileExport
Description
Exports a file to PDF format using profile.
Synopsis
#include <ProPDF.h>
ProPDFWithProfileExport
(
ProMdl model
/* (In)
The model to export. The model must be displayed in a window. Currently, this model must be a drawing. This model must be loaded.
*/
ProPath output_file
/* (In)
The full path to the output file, including the extension.
*/
ProPath profile
/* (In)
profile path.
*/
)
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 occurred while processing PDF creation.
Support not available on this platform.
No profile found. (For NULL profile returns PRO_TK_BAD_INPUTS.)
profile is not readable.
PRO_PDF_ARCHIVE_1 passed for non 2D drawing export.
User Guide References
È stato utile?