IUIX_CmdLine::InsertBar Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
 
(6 intermediate revisions by one other user not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IUIX_CmdLine::InsertBar Method}}
 
{{#customTitle:IUIX_CmdLine::InsertBar Method}}
 +
{{#parentPage:PXV:IUIX_CmdLine#Methods|InsertBar|method}}
 +
{{ToReview}}
  
The method of interface of PDF-XChange Editor SDK.
+
Inserts [[PXV:IUIX_CmdBar|command bar]] into the given command line's position.
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT InsertBar([in] IUIX_CmdBar* pBar, [in, defaultvalue(-1)] LONG nIndexBefore);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT InsertBar([in]                   IUIX_CmdBar* pBar,
 +
                  [in, defaultvalue(-1)] LONG         nIndexBefore);</pre>
  
 
== 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 inserted.
;''nIndexBefore''
+
;nIndexBefore
:[in, defaultvalue(-1)]  Value of LONG.
+
:[in, defaultvalue(-1)]  Value of LONG containing the insert index.
  
 
== Return Value ==
 
== Return Value ==
Line 17: Line 21:
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IUIX_CmdLine|IUIX_CmdLine]].
+
[[PXV:IUIX_CmdLine|IUIX_CmdLine]]

Latest revision as of 01:43, 25 March 2016


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

Syntax

HRESULT InsertBar([in]                    IUIX_CmdBar*  pBar,
                  [in, defaultvalue(-1)]  LONG          nIndexBefore);

Parameters

pBar
[in] Pointer to IUIX_CmdBar containing the command bar that needs to be inserted.
nIndexBefore
[in, defaultvalue(-1)] Value of LONG containing the insert index.

Return Value

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

See Also

IUIX_CmdLine