IUIX_CmdManager::CreateNewCmd2 Method
From PDF XChange PDF SDK
The method of interface of PDF-XChange Editor SDK.
Syntax
HRESULT CreateNewCmd2([in] LONG nID, [in] LONG nTextStrID, [in] IUIX_CmdHandler* pCmdHandler, [in] LONG nIconID, [in] LONG nTipStrID, [in] LONG nStyle, [out, retval] IUIX_Cmd** pCmd);
Parameters
- nID
- [in] Value of LONG.
- nTextStrID
- [in] Value of LONG.
- pCmdHandler
- [in] Pointer to IUIX_CmdHandler.
- nIconID
- [in] Value of LONG.
- nTipStrID
- [in] Value of LONG.
- nStyle
- [in] Value of LONG.
- pCmd
- [out, retval] Pointer to IUIX_Cmd.
Return Value
Returns S_OK if operation was successful or error code in other cases.