IUIX_CmdLine::DeleteBar Method

From PDF XChange PDF SDK
Revision as of 00:59, 25 March 2016 by Palamar (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


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.

See Also

IUIX_CmdLine