IPXC_DocumentInfo::SetInfoVar Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
|||
(7 intermediate revisions by 3 users not shown) | |||
Line 2: | Line 2: | ||
[[Category:Editor]] | [[Category:Editor]] | ||
{{#customTitle:IPXC_DocumentInfo::SetInfoVar Method}} | {{#customTitle:IPXC_DocumentInfo::SetInfoVar Method}} | ||
− | {{#parentPage:PXV:IPXC_DocumentInfo|SetInfoVar | + | {{#parentPage:PXV:IPXC_DocumentInfo#Methods|SetInfoVar|method}} |
− | + | ||
Sets value in the ''Info'' dictionary of the [[PXV:IPXS_Document|structure document]]. | Sets value in the ''Info'' dictionary of the [[PXV:IPXS_Document|structure document]]. | ||
== 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* pValue);</pre> | [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 | ;pValue | ||
− | :[in] Pointer to [[PXV:IPXS_PDFVariant|IPXS_PDFVariant]] containing the value | + | :[in] Pointer to [[PXV:IPXS_PDFVariant|IPXS_PDFVariant]] containing the value that needs to be set. |
== Return Value == | == Return Value == | ||
Line 21: | Line 20: | ||
== See Also == | == See Also == | ||
− | [[PXV:IPXC_DocumentInfo|IPXC_DocumentInfo]] | + | [[PXV:IPXC_DocumentInfo|IPXC_DocumentInfo]] |
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.