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