Table of Contents

Method SetRange

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

SetRange(int, int)

Sets the valid range for the font point size (Windows only).

public virtual void SetRange(int minRange, int maxRange)

Parameters

minRange int

New minimal font point size. Pass 0 here to unrestrict minimal font point size.

maxRange int

New maximal font point size. Pass 0 here to unrestrict maximal point size.

Remarks

The default is 0, 0 (unrestricted range).