IPXV_PresetsListCallbacks::CreateNewItem Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
m (Automatic page editing by robot) |
||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | __NOTOC__ | ||
[[Category:Editor]] | [[Category:Editor]] | ||
{{#customTitle:IPXV_PresetsListCallbacks::CreateNewItem Method}} | {{#customTitle:IPXV_PresetsListCallbacks::CreateNewItem Method}} | ||
+ | {{#parentPage:PXV:IPXV_PresetsListCallbacks#Methods|CreateNewItem|method}} | ||
+ | {{ToWrite}} | ||
+ | {{ToReview}} | ||
The method of interface of PDF-XChange Editor SDK. | The method of interface of PDF-XChange Editor SDK. | ||
== Syntax == | == Syntax == | ||
− | <pre class="brush:cpp;gutter:false">HRESULT CreateNewItem([in] BSTR | + | <pre class="brush:cpp;gutter:false">HRESULT CreateNewItem([in] BSTR sName, |
+ | [in, defaultvalue("")] BSTR sDesc, | ||
+ | [out, retval, defaultvalue(NULL)] LONG* nNewItemIndex);</pre> | ||
== Parameters == | == Parameters == | ||
− | ; | + | ;sName |
:[in] Value of BSTR. | :[in] Value of BSTR. | ||
− | ; | + | ;sDesc |
:[in, defaultvalue("")] Value of BSTR. | :[in, defaultvalue("")] Value of BSTR. | ||
− | ; | + | ;nNewItemIndex |
:[out, retval, defaultvalue(NULL)] Pointer to LONG. | :[out, retval, defaultvalue(NULL)] Pointer to LONG. | ||
Line 19: | Line 25: | ||
== See Also == | == See Also == | ||
− | + | [[PXV:IPXV_PresetsListCallbacks|IPXV_PresetsListCallbacks]] |
Latest revision as of 04:06, 15 June 2015
The method of interface of PDF-XChange Editor SDK.
Syntax
HRESULT CreateNewItem([in] BSTR sName, [in, defaultvalue("")] BSTR sDesc, [out, retval, defaultvalue(NULL)] LONG* nNewItemIndex);
Parameters
- sName
- [in] Value of BSTR.
- sDesc
- [in, defaultvalue("")] Value of BSTR.
- nNewItemIndex
- [out, retval, defaultvalue(NULL)] Pointer to LONG.
Return Value
Returns S_OK if operation was successful or error code in other cases.