IVsSplitter::SplitPane Method (IVsSplitPane^, Int32, Int32, UInt32, IVsSplitter^)
Visual Studio 2015
Splits the indicated pane of this splitter.
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
int SplitPane( IVsSplitPane^ pNewPane, int iIndex, int iSize, unsigned int dwFlags, [OutAttribute] IVsSplitter^% ppSplitter )
Parameters
- pNewPane
-
Type:
Microsoft.VisualStudio.TextManager.Interop::IVsSplitPane^
[in] The IVsSplitPane of the new pane.
- iIndex
-
Type:
System::Int32
[in] The index of the pane.
- iSize
-
Type:
System::Int32
[in] The size of the pane.
- dwFlags
-
Type:
System::UInt32
[in] The flags.
- ppSplitter
-
Type:
Microsoft.VisualStudio.TextManager.Interop::IVsSplitter^
[out] The IVsSplitter.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From textmgr.idl:
HRESULT IVsSplitter::SplitPane( [in] IVsSplitPane *pNewPane, [in] long iIndex, [in] long iSize, [in] DWORD dwFlags, [out] IVsSplitter **ppSplitter );
The provided pane can become either the primary or secondary pane of the newly created splitter pane, which replaces the indicated pane. The iSize parameter refers to the size of the new pane, regardless of if it is becoming the primary or secondary pane.
Show: