IUIX_CmdMenu::InsertItem4 Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
m (Automatic page editing by robot) |
||
Line 9: | Line 9: | ||
== Syntax == | == Syntax == | ||
− | <pre class="brush:cpp;gutter:false">HRESULT InsertItem4([in] BSTR | + | <pre class="brush:cpp;gutter:false">HRESULT InsertItem4([in] BSTR sItemID, |
− | [in] BSTR | + | [in] BSTR sText, |
[in, defaultvalue(0)] LONG nState, | [in, defaultvalue(0)] LONG nState, | ||
[in, defaultvalue(NULL)] IUIX_Icon* pIcon, | [in, defaultvalue(NULL)] IUIX_Icon* pIcon, | ||
− | [in, defaultvalue("")] BSTR | + | [in, defaultvalue("")] BSTR sTip, |
[in, defaultvalue(-1)] LONG nIndexBefore, | [in, defaultvalue(-1)] LONG nIndexBefore, | ||
[in, defaultvalue(0)] LONG nStyle, | [in, defaultvalue(0)] LONG nStyle, | ||
− | [out, retval, defaultvalue(NULL)] IUIX_CmdMenu** | + | [out, retval, defaultvalue(NULL)] IUIX_CmdMenu** pItem);</pre> |
== Parameters == | == Parameters == | ||
− | ; | + | ;sItemID |
:[in] Value of BSTR. | :[in] Value of BSTR. | ||
− | ; | + | ;sText |
:[in] Value of BSTR. | :[in] Value of BSTR. | ||
;nState | ;nState | ||
Line 27: | Line 27: | ||
;pIcon | ;pIcon | ||
:[in, defaultvalue(NULL)] Pointer to [[PXV:IUIX_Icon|IUIX_Icon]]. | :[in, defaultvalue(NULL)] Pointer to [[PXV:IUIX_Icon|IUIX_Icon]]. | ||
− | ; | + | ;sTip |
:[in, defaultvalue("")] Value of BSTR. | :[in, defaultvalue("")] Value of BSTR. | ||
;nIndexBefore | ;nIndexBefore | ||
Line 33: | Line 33: | ||
;nStyle | ;nStyle | ||
:[in, defaultvalue(0)] Value of LONG. | :[in, defaultvalue(0)] Value of LONG. | ||
− | ; | + | ;pItem |
:[out, retval, defaultvalue(NULL)] Pointer to [[PXV:IUIX_CmdMenu|IUIX_CmdMenu]]. | :[out, retval, defaultvalue(NULL)] Pointer to [[PXV:IUIX_CmdMenu|IUIX_CmdMenu]]. | ||
Revision as of 03:15, 15 June 2015
The method of interface of PDF-XChange Editor SDK.
Syntax
HRESULT InsertItem4([in] BSTR sItemID, [in] BSTR sText, [in, defaultvalue(0)] LONG nState, [in, defaultvalue(NULL)] IUIX_Icon* pIcon, [in, defaultvalue("")] BSTR sTip, [in, defaultvalue(-1)] LONG nIndexBefore, [in, defaultvalue(0)] LONG nStyle, [out, retval, defaultvalue(NULL)] IUIX_CmdMenu** pItem);
Parameters
- sItemID
- [in] Value of BSTR.
- sText
- [in] Value of BSTR.
- nState
- [in, defaultvalue(0)] Value of LONG.
- pIcon
- [in, defaultvalue(NULL)] Pointer to IUIX_Icon.
- sTip
- [in, defaultvalue("")] Value of BSTR.
- nIndexBefore
- [in, defaultvalue(-1)] Value of LONG.
- nStyle
- [in, defaultvalue(0)] Value of LONG.
- pItem
- [out, retval, defaultvalue(NULL)] Pointer to IUIX_CmdMenu.
Return Value
Returns S_OK if operation was successful or error code in other cases.