IVsSplitter.GetSizeExtents(Int32, Int32, Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the minimums and maximums for this pane (E_NOTIMPL is allowed; 0 and full screen are defaults).
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.
Implements
Remarks
COM Signature
From textmgr.idl:
HRESULT IVsSplitter::GetSizeExtents(
[out] long *piMinHorz,
[out] long *piMaxHorz,
[out] long *piMinVert,
[out] long *piMaxVert
);