IPXC_Document::GetXMPMetadata Method

From PDF XChange PDF SDK
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