IVsSplitPane.GetSizeExtents Method
Returns minimum and maximum size values for this pane.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
'Declaration
Function GetSizeExtents ( _
<OutAttribute> ByRef piMinHorz As Integer, _
<OutAttribute> ByRef piMaxHorz As Integer, _
<OutAttribute> ByRef piMinVert As Integer, _
<OutAttribute> ByRef piMaxVert As Integer _
) As Integer
int GetSizeExtents(
out int piMinHorz,
out int piMaxHorz,
out int piMinVert,
out int piMaxVert
)
int GetSizeExtents(
[OutAttribute] int% piMinHorz,
[OutAttribute] int% piMaxHorz,
[OutAttribute] int% piMinVert,
[OutAttribute] int% piMaxVert
)
abstract GetSizeExtents :
piMinHorz:int byref *
piMaxHorz:int byref *
piMinVert:int byref *
piMaxVert:int byref -> int
function GetSizeExtents(
piMinHorz : int,
piMaxHorz : int,
piMinVert : int,
piMaxVert : int
) : int
Parameters
piMinHorz
Type: System.Int32%[out] The minimum horizontal size.
piMaxHorz
Type: System.Int32%[out] The maximum horizontal size.
piMinVert
Type: System.Int32%[out] The minimum vertical size.
piMaxVert
Type: System.Int32%[out] The maximum vertical size.
Return Value
Type: System.Int32
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.