IUIX_CmdPane::InsertLine Method

From PDF XChange PDF SDK
Jump to: navigation, search


Inserts new command line into the command pane.

Syntax

HRESULT InsertLine([in, defaultvalue(-1)]  LONG            nIndexBefore,
                   [in, defaultvalue(0)]   VARIANT_BOOL    bMinimized,
                   [out, retval]           IUIX_CmdLine**  pNewLine);

Parameters

nIndexBefore
[in, defaultvalue(-1)] Value of LONG containing the new line insert index.
bMinimized
[in, defaultvalue(0)] Value of VARIANT_BOOL that specifies whether the newly inserted line should be minimized.
pNewLine
[out, retval] Pointer to IUIX_CmdLine containing the newly created command line.

Return Value

Returns S_OK if operation was successful or error code in other cases.

See Also

IUIX_CmdPane