IUIX_CmdLine::GetBarIndex Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
 
Line 3: Line 3:
 
{{#customTitle:IUIX_CmdLine::GetBarIndex Method}}
 
{{#customTitle:IUIX_CmdLine::GetBarIndex Method}}
 
{{#parentPage:PXV:IUIX_CmdLine#Methods|GetBarIndex|method}}
 
{{#parentPage:PXV:IUIX_CmdLine#Methods|GetBarIndex|method}}
{{ToWrite}}
 
 
{{ToReview}}
 
{{ToReview}}
  
The method of interface of PDF-XChange Editor SDK.
+
Gets [[PXV:IUIX_CmdBar|command bar's]] index inside the command line.
  
 
== Syntax ==
 
== Syntax ==
Line 14: Line 13:
 
== Parameters ==
 
== Parameters ==
 
;pBar
 
;pBar
:[in]  Pointer to [[PXV:IUIX_CmdBar|IUIX_CmdBar]].
+
:[in]  Pointer to [[PXV:IUIX_CmdBar|IUIX_CmdBar]] containing the command bar that needs to be found.
 
;nIndex
 
;nIndex
:[out, retval]  Pointer to LONG.
+
:[out, retval]  Pointer to LONG containing the index of the command bar. If not found, the '''-1''' will be returned instead.
  
 
== Return Value ==
 
== Return Value ==

Latest revision as of 01:53, 25 March 2016


Gets command bar's index inside the command line.

Syntax

HRESULT GetBarIndex([in]           IUIX_CmdBar*  pBar,
                    [out, retval]  LONG*         nIndex);

Parameters

pBar
[in] Pointer to IUIX_CmdBar containing the command bar that needs to be found.
nIndex
[out, retval] Pointer to LONG containing the index of the command bar. If not found, the -1 will be returned instead.

Return Value

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

See Also

IUIX_CmdLine