deprecated_A3DPDFDocumentSave

A3DStatus deprecated_A3DPDFDocumentSave(A3DPDFDocument *pDoc, const A3DUTF8Char *pcFileName)

deprecated

A3DStatus deprecated_A3DPDFDocumentSave(A3DPDFDocument* pDoc, const A3DUTF8Char* pcFileName)

Function to save the PDF document.

DeprecatedThis function is now deprecated. Use A3DPDFDocumentSaveEx() with flags kA3DPDFSaveFull instead to have the same basic behaviour. This will be removed in version 2026.1.0.

Parameters

pDoc: The Document object to save.

pcFileName: The file name where to save the document. The path (absolute or relative) must be provided (use “.\” or “./” for the current directory).

Returns

A3D_SUCCESS in case of success or an error code