IUIX_CmdLine::DeleteBar Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
|||
(5 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
+ | __NOTOC__ | ||
[[Category:Editor]] | [[Category:Editor]] | ||
{{#customTitle:IUIX_CmdLine::DeleteBar Method}} | {{#customTitle:IUIX_CmdLine::DeleteBar Method}} | ||
− | {{#parentPage:PXV:IUIX_CmdLine|method | + | {{#parentPage:PXV:IUIX_CmdLine#Methods|DeleteBar|method}} |
− | + | ||
{{ToReview}} | {{ToReview}} | ||
− | + | Removes [[PXV:IUIX_CmdBar|command bar]] from the command line by index. | |
== Syntax == | == Syntax == | ||
− | <pre class="brush:cpp;gutter:false">HRESULT DeleteBar(LONG nIndex, [in, defaultvalue(-1)] VARIANT_BOOL bDestroy);</pre> | + | <pre class="brush:cpp;gutter:false">HRESULT DeleteBar( LONG nIndex, |
+ | [in, defaultvalue(-1)] VARIANT_BOOL bDestroy);</pre> | ||
== Parameters == | == Parameters == | ||
− | ; | + | ;nIndex |
− | : Value of LONG. | + | : Value of LONG containing the index of the command bar that should be deleted. |
− | ; | + | ;bDestroy |
− | :[in, defaultvalue(-1)] Value of VARIANT_BOOL. | + | :[in, defaultvalue(-1)] Value of VARIANT_BOOL representing whether the command bar should be deleted or hidden. |
== Return Value == | == Return Value == | ||
Line 20: | Line 21: | ||
== See Also == | == See Also == | ||
− | + | [[PXV:IUIX_CmdLine|IUIX_CmdLine]] |
Latest revision as of 23:59, 24 March 2016
Removes command bar from the command line by index.
Syntax
HRESULT DeleteBar( LONG nIndex, [in, defaultvalue(-1)] VARIANT_BOOL bDestroy);
Parameters
- nIndex
- Value of LONG containing the index of the command bar that should be deleted.
- bDestroy
- [in, defaultvalue(-1)] Value of VARIANT_BOOL representing whether the command bar should be deleted or hidden.
Return Value
Returns S_OK if operation was successful or error code in other cases.