Table of Contents

Method ApplyMinMax

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

ApplyMinMax(SizeD, SizeD)

Gets size with applied minimal and maximal limitations.

public readonly SizeD ApplyMinMax(SizeD min, SizeD max)

Parameters

min SizeD

Minimal width and height.

max SizeD

Maximal width and height.

Returns

SizeD

SizeD with width and height greater than specified in min and less than specified in max.