A3DPDFDocumentGetVersion

A3DStatus A3DPDFDocumentGetVersion(const A3DPDFDocument *pDoc, A3DUTF8Char **ppcVersion)
A3DStatus A3DPDFDocumentGetVersion(const A3DPDFDocument* pDoc, A3DUTF8Char** ppcVersion)

Retrieves the PDF version of a given document.

The version returned by A3DPDFDocumentGetVersion is a string matching the value displayed within Adobe PDF Reader properties.

The result string is composed of the PDF version followed to by the minimum Acrobat version that supports the format between parenthesis.

Parameters

pDoc: The Document object get the version from.

ppcVersion: A pointer.

Returns

A3D_SUCCESS or an error code in case of failure.