IVsSplitPane::GetPosition Method (Int32, Int32, Int32, Int32)

 

Gets the position of the pane.

Namespace:   Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

int GetPosition(
	[OutAttribute] int% piLeft,
	[OutAttribute] int% piTop,
	[OutAttribute] int% piRight,
	[OutAttribute] int% piBottom
)

Parameters

piLeft
Type: System::Int32

[out] The left side of the pane.

piTop
Type: System::Int32

[out] The top of the pane.

piRight
Type: System::Int32

[out] The right side of the pane.

piBottom
Type: System::Int32

[out] The bottom of the pane.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

From textmgr.idl:

HRESULT IVsSplitPane::GetPosition(
   [out] long *piLeft,
   [out] long *piTop,
   [out] long *piRight,
   [out] long *piBottom
);
Return to top
Show: