IVsSplitPane.GetPosition(Int32, Int32, Int32, Int32) Method

Definition

Gets the position of the pane.

public:
 int GetPosition([Runtime::InteropServices::Out] int % piLeft, [Runtime::InteropServices::Out] int % piTop, [Runtime::InteropServices::Out] int % piRight, [Runtime::InteropServices::Out] int % piBottom);
int GetPosition([Runtime::InteropServices::Out] int & piLeft, [Runtime::InteropServices::Out] int & piTop, [Runtime::InteropServices::Out] int & piRight, [Runtime::InteropServices::Out] int & piBottom);
public int GetPosition (out int piLeft, out int piTop, out int piRight, out int piBottom);
abstract member GetPosition : int * int * int * int -> int
Public Function GetPosition (ByRef piLeft As Integer, ByRef piTop As Integer, ByRef piRight As Integer, ByRef piBottom As Integer) As Integer

Parameters

piLeft
Int32

[out] The left side of the pane.

piTop
Int32

[out] The top of the pane.

piRight
Int32

[out] The right side of the pane.

piBottom
Int32

[out] The bottom of the pane.

Returns

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

Remarks

COM Signature

From textmgr.idl:

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

Applies to