IUIX_CmdPane::InsertBar Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
 
Line 3: Line 3:
 
{{#customTitle:IUIX_CmdPane::InsertBar Method}}
 
{{#customTitle:IUIX_CmdPane::InsertBar Method}}
 
{{#parentPage:PXV:IUIX_CmdPane#Methods|InsertBar|method}}
 
{{#parentPage:PXV:IUIX_CmdPane#Methods|InsertBar|method}}
{{ToWrite}}
 
 
{{ToReview}}
 
{{ToReview}}
  
The method of interface of PDF-XChange Editor SDK.
+
Inserts [[PXV:IUIX_CmdBar|command bar]] into the command pane's [[PXV:IUIX_CmdLine|command line]] into given position.
  
 
== Syntax ==
 
== Syntax ==
Line 16: Line 15:
 
== 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 would be inserted.
 
;nLineIndex
 
;nLineIndex
:[in, defaultvalue(-1)]  Value of LONG.
+
:[in, defaultvalue(-1)]  Value of LONG containing the index of the command line, where the command bar would be inserted.
 
;nBarIndex
 
;nBarIndex
:[in, defaultvalue(-1)]  Value of LONG.
+
:[in, defaultvalue(-1)]  Value of LONG containing the index in the command line's command bar array where the command bar would be inserted.
 
;bForceToNewLine
 
;bForceToNewLine
:[in, defaultvalue(0)]  Value of VARIANT_BOOL.
+
:[in, defaultvalue(0)]  Value of VARIANT_BOOL that indicates whether the new line should be created at the given line index.
  
 
== Return Value ==
 
== Return Value ==

Latest revision as of 03:13, 25 March 2016


Inserts command bar into the command pane's command line into given position.

Syntax

HRESULT InsertBar([in]                    IUIX_CmdBar*  pBar,
                  [in, defaultvalue(-1)]  LONG          nLineIndex,
                  [in, defaultvalue(-1)]  LONG          nBarIndex,
                  [in, defaultvalue(0)]   VARIANT_BOOL  bForceToNewLine);

Parameters

pBar
[in] Pointer to IUIX_CmdBar containing the command bar that would be inserted.
nLineIndex
[in, defaultvalue(-1)] Value of LONG containing the index of the command line, where the command bar would be inserted.
nBarIndex
[in, defaultvalue(-1)] Value of LONG containing the index in the command line's command bar array where the command bar would be inserted.
bForceToNewLine
[in, defaultvalue(0)] Value of VARIANT_BOOL that indicates whether the new line should be created at the given line index.

Return Value

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

See Also

IUIX_CmdPane