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

定义

返回此窗格 (允许的最小值和最大 E_NOTIMPL 值; 默认值为0,) 为全屏。

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

适用于