IVsSplitPane.GetSizeExtents(Int32, Int32, Int32, Int32) 方法

定义

返回此窗格的最小值和最大大小值。

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

参数

piMinHorz
Int32

弄最小水平大小。

piMaxHorz
Int32

弄最大水平大小。

piMinVert
Int32

弄最小垂直大小。

piMaxVert
Int32

弄最大垂直大小。

返回

Int32

如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。

注解

COM 签名

从 textmgr:

HRESULT IVsSplitPane::GetSizeExtents(  
   [out] long *piMinHorz,  
   [out] long *piMaxHorz,  
   [out] long *piMinVert,  
   [out] long *piMaxVert  
);  

E_NOTIMPL 允许;0和全屏幕为默认值。

适用于