IUIX_CmdManager::ExecCmd2 Method
From PDF XChange PDF SDK
(Automatic page editing by robot) |
|||
(7 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
+ | __NOTOC__ | ||
[[Category:Editor]] | [[Category:Editor]] | ||
{{#customTitle:IUIX_CmdManager::ExecCmd2 Method}} | {{#customTitle:IUIX_CmdManager::ExecCmd2 Method}} | ||
+ | {{#parentPage:PXV:IUIX_CmdManager#Methods|ExecCmd2|method}} | ||
+ | {{ToReview}} | ||
− | + | Executes the command with given ID. | |
== Syntax == | == Syntax == | ||
− | <pre class="brush:cpp;gutter:false">HRESULT ExecCmd2([in] LONG nCmdID, [in, | + | <pre class="brush:cpp;gutter:false">HRESULT ExecCmd2([in] LONG nCmdID, |
+ | [in, defaultvalue(NULL)] IUIX_Obj* pOwner);</pre> | ||
== Parameters == | == Parameters == | ||
− | ; | + | ;nCmdID |
− | :[in] Value of LONG. | + | :[in] Value of LONG containing the command's ID. |
− | ; | + | ;pOwner |
− | :[in, | + | :[in, defaultvalue(NULL)] Pointer to [[PXV:IUIX_Obj|IUIX_Obj]] containing the command's owner object. |
== Return Value == | == Return Value == | ||
Line 17: | Line 21: | ||
== See Also == | == See Also == | ||
− | + | [[PXV:IUIX_CmdManager|IUIX_CmdManager]] |
Latest revision as of 04:30, 4 April 2016
Executes the command with given ID.
Syntax
HRESULT ExecCmd2([in] LONG nCmdID, [in, defaultvalue(NULL)] IUIX_Obj* pOwner);
Parameters
- nCmdID
- [in] Value of LONG containing the command's ID.
- pOwner
- [in, defaultvalue(NULL)] Pointer to IUIX_Obj containing the command's owner object.
Return Value
Returns S_OK if operation was successful or error code in other cases.