Udostępnij za pośrednictwem


IVsSplitPane.SetPosition(Int32, Int32, Int32, Int32) Method

Definition

Sets the position relative to the parent window.

public:
 int SetPosition(int iLeft, int iTop, int iRight, int iBottom);
public:
 int SetPosition(int iLeft, int iTop, int iRight, int iBottom);
int SetPosition(int iLeft, int iTop, int iRight, int iBottom);
public int SetPosition (int iLeft, int iTop, int iRight, int iBottom);
abstract member SetPosition : int * int * int * int -> int
Public Function SetPosition (iLeft As Integer, iTop As Integer, iRight As Integer, iBottom As Integer) As Integer

Parameters

iLeft
Int32

[in] The left side.

iTop
Int32

[in] The top.

iRight
Int32

[in] The right side.

iBottom
Int32

[in] The bottom.

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::SetPosition(  
   [in] long iLeft,  
   [in] long iTop,  
   [in] long iRight,  
   [in] long iBottom  
);  

Applies to