IUIX_CmdLine::DeleteBar Method

From PDF XChange PDF SDK
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