deprecated_A3DPDFDocumentGetUniquePage

A3DStatus deprecated_A3DPDFDocumentGetUniquePage(const A3DPDFDocument *pDoc, A3DPDFPage **ppPage)

deprecated

A3DStatus deprecated_A3DPDFDocumentGetUniquePage(const A3DPDFDocument* pDoc, A3DPDFPage** ppPage)

Function to get the unique page of the document.

DeprecatedThis function was deprecated in HOOPS Publish 6.0. Use A3DPDFDocumentGetPage() instead. This will be removed in version 2026.1.0.

This function only works on a document which contains a single page. It is designed to be called after A3DPDFDocumentCreateFromPDFFile() to get the Page object.

Parameters

pDoc: The Document object to work with.

ppPage: The Page object.

Returns

A3D_SUCCESS in case of success or an error code