IPXC_DocumentInfo::SetInfoVar Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
Line 7: Line 7:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT SetInfoVar([in]  LPWSTR            sKey,
+
<pre class="brush:cpp;gutter:false">HRESULT SetInfoVar([in]  LPWSTR            Key,
                   [in]  IPXS_PDFVariant*  pValue);</pre>
+
                   [in]  IPXS_PDFVariant*  Value);</pre>
  
 
== Parameters ==
 
== Parameters ==
;sKey
+
;Key
 
:[in]  Key that needs to be set with the given value.
 
:[in]  Key that needs to be set with the given value.
;pValue
+
;Value
 
:[in]  Pointer to [[PXV:IPXS_PDFVariant|IPXS_PDFVariant]] containing the value that needs to be set.
 
:[in]  Pointer to [[PXV:IPXS_PDFVariant|IPXS_PDFVariant]] containing the value that needs to be set.
  

Revision as of 07:02, 12 June 2015

Sets value in the Info dictionary of the structure document.

Syntax

HRESULT SetInfoVar([in]  LPWSTR            Key,
                   [in]  IPXS_PDFVariant*  Value);

Parameters

Key
[in] Key that needs to be set with the given value.
Value
[in] Pointer to IPXS_PDFVariant containing the value that needs to be set.

Return Value

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

See Also

IPXC_DocumentInfo