IPXC_Document::GetXMPMetadata Method

From PDF XChange PDF SDK
Revision as of 07:55, 12 September 2017 by Palamar (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Gets document's XMP Metadata.

Syntax

HRESULT GetXMPMetadata([in, defaultvalue(0)]  VARIANT_BOOL        bCreateIfEmpty,
                       [out, retval]          IPXC_XMPMetadata**  pXMP);

Parameters

bCreateIfEmpty
[in, defaultvalue(0)] Value of VARIANT_BOOL defining whether the new Metadata should be created.
pXMP
[out, retval] Pointer to IPXC_XMPMetadata containing the XMP Metadata.

Return Value

Returns S_OK if operation was successful or error code in other cases.

See Also

IPXC_Document