IVsSplitPane::GetSizeExtents Method (Int32, Int32, Int32, Int32)

 

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)

int GetSizeExtents(
	[OutAttribute] int% piMinHorz,
	[OutAttribute] int% piMaxHorz,
	[OutAttribute] int% piMinVert,
	[OutAttribute] int% piMaxVert
)

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.

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.

Return to top
Show: