Udostępnij za pośrednictwem


IVsSplitPane.GetSizeExtents(Int32, Int32, Int32, Int32) Method

Definition

Returns minimum and maximum size values for this pane.

public:
 int GetSizeExtents([Runtime::InteropServices::Out] int % piMinHorz, [Runtime::InteropServices::Out] int % piMaxHorz, [Runtime::InteropServices::Out] int % piMinVert, [Runtime::InteropServices::Out] int % piMaxVert);
int GetSizeExtents([Runtime::InteropServices::Out] int & piMinHorz, [Runtime::InteropServices::Out] int & piMaxHorz, [Runtime::InteropServices::Out] int & piMinVert, [Runtime::InteropServices::Out] int & piMaxVert);
public int GetSizeExtents (out int piMinHorz, out int piMaxHorz, out int piMinVert, out int piMaxVert);
abstract member GetSizeExtents : int * int * int * int -> int
Public Function GetSizeExtents (ByRef piMinHorz As Integer, ByRef piMaxHorz As Integer, ByRef piMinVert As Integer, ByRef piMaxVert As Integer) As Integer

Parameters

piMinHorz
Int32

[out] The minimum horizontal size.

piMaxHorz
Int32

[out] The maximum horizontal size.

piMinVert
Int32

[out] The minimum vertical size.

piMaxVert
Int32

[out] The maximum vertical size.

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::GetSizeExtents(  
   [out] long *piMinHorz,  
   [out] long *piMaxHorz,  
   [out] long *piMinVert,  
   [out] long *piMaxVert  
);  

E_NOTIMPL is allowed; 0 and full screen are defaults.

Applies to