IPXC_Document::GetXMPMetadata Method

From PDF XChange PDF SDK
Jump to: navigation, search
(Automatic page editing by robot)
 
 
(10 intermediate revisions by one other user not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IPXC_Document::GetXMPMetadata Method}}
 
{{#customTitle:IPXC_Document::GetXMPMetadata Method}}
 +
{{#parentPage:PXV:IPXC_Document#Methods|GetXMPMetadata|method}}
 +
{{ToReview}}
  
The method of interface of PDF-XChange Editor SDK.
+
Gets document's [[PXV:IPXC_XMPMetadata|XMP Metadata]].
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT GetXMPMetadata([out] IPXC_XMPMetadata** pXMP, [in, optional] VARIANT_BOOL bCreateIfEmpty);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT GetXMPMetadata([in, defaultvalue(0)]  VARIANT_BOOL        bCreateIfEmpty,
 +
                      [out, retval]         IPXC_XMPMetadata** pXMP);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''pXMP''
+
;bCreateIfEmpty
:[out]  Pointer to [[PXV:IPXC_XMPMetadata|IPXC_XMPMetadata]].
+
:[in, defaultvalue(0)]  Value of VARIANT_BOOL defining whether the new Metadata should be created.
;''bCreateIfEmpty''
+
;pXMP
:[in, optional]  Value of VARIANT_BOOL.
+
:[out, retval]  Pointer to [[PXV:IPXC_XMPMetadata|IPXC_XMPMetadata]] containing the XMP Metadata.
  
 
== Return Value ==
 
== Return Value ==
Line 17: Line 21:
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IPXC_Document|IPXC_Document]].
+
[[PXV:IPXC_Document|IPXC_Document]]

Latest revision as of 07:55, 12 September 2017


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