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            Key,
+
<pre class="brush:cpp;gutter:false">HRESULT SetInfoVar([in]  LPWSTR            sKey,
                   [in]  IPXS_PDFVariant*  Value);</pre>
+
                   [in]  IPXS_PDFVariant*  pValue);</pre>
  
 
== Parameters ==
 
== Parameters ==
;Key
+
;sKey
 
:[in]  Key that needs to be set with the given value.
 
:[in]  Key that needs to be set with the given value.
;Value
+
;pValue
 
:[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.
  

Latest revision as of 03:26, 15 June 2015

Sets value in the Info dictionary of the structure document.

Syntax

HRESULT SetInfoVar([in]  LPWSTR            sKey,
                   [in]  IPXS_PDFVariant*  pValue);

Parameters

sKey
[in] Key that needs to be set with the given value.
pValue
[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