IUIX_CmdPane::GetLineIndex Method

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

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


Gets index of the command line in the command pane.

Syntax

HRESULT GetLineIndex([in]           IUIX_CmdLine*  pLine,
                     [out, retval]  LONG*          nIndex);

Parameters

pLine
[in] Pointer to IUIX_CmdLine containing the command line.
nIndex
[out, retval] Pointer to LONG containing the index of the command line in the command pane. If the command line is not in the current command pane then the -1 will be returned instead.

Return Value

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

See Also

IUIX_CmdPane