IUIX_CmdPane::InsertLine Method
From PDF XChange PDF SDK
(Automatic page editing by robot) |
|||
(9 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
+ | __NOTOC__ | ||
[[Category:Editor]] | [[Category:Editor]] | ||
{{#customTitle:IUIX_CmdPane::InsertLine Method}} | {{#customTitle:IUIX_CmdPane::InsertLine Method}} | ||
+ | {{#parentPage:PXV:IUIX_CmdPane#Methods|InsertLine|method}} | ||
+ | {{ToReview}} | ||
− | + | Inserts new [[PXV:IUIX_CmdLine|command line]] into the command pane. | |
== Syntax == | == Syntax == | ||
− | <pre class="brush:cpp;gutter:false">HRESULT InsertLine([in, | + | <pre class="brush:cpp;gutter:false">HRESULT InsertLine([in, defaultvalue(-1)] LONG nIndexBefore, |
+ | [in, defaultvalue(0)] VARIANT_BOOL bMinimized, | ||
+ | [out, retval] IUIX_CmdLine** pNewLine);</pre> | ||
== Parameters == | == Parameters == | ||
− | ; | + | ;nIndexBefore |
− | :[in, | + | :[in, defaultvalue(-1)] Value of LONG containing the new line insert index. |
− | ; | + | ;bMinimized |
− | :[in, | + | :[in, defaultvalue(0)] Value of VARIANT_BOOL that specifies whether the newly inserted line should be minimized. |
− | ; | + | ;pNewLine |
− | :[out, retval | + | :[out, retval] Pointer to [[PXV:IUIX_CmdLine|IUIX_CmdLine]] containing the newly created command line. |
== Return Value == | == Return Value == | ||
Line 19: | Line 24: | ||
== See Also == | == See Also == | ||
− | + | [[PXV:IUIX_CmdPane|IUIX_CmdPane]] |
Latest revision as of 02:15, 25 March 2016
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.