Condividi tramite


IVsSplitter.GetPosition(Int32, Int32, Int32, Int32) Method

Definition

Gets the position of the splitter relative to its parent.

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.

piTop
Int32

[out] The top.

piRight
Int32

[out] The right side.

piBottom
Int32

[out] The bottom.

Returns

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

Implements

Remarks

COM Signature

From textmgr.idl:

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

Applies to