Export (0) Print
Expand All
Expand Minimize
0 out of 2 rated this helpful - Rate this topic

FontSize Enumeration

Specifies the font sizes defined by HTML 4.0.

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in system.web.dll)

public enum FontSize
public enum FontSize
public enum FontSize
 Member nameDescription
AsUnitThe font size is specified by a point value. 
LargeThe font size is two sizes larger than the base font size. 
LargerThe font size is one size larger than the parent element. 
MediumThe font size is one size larger than the default font size. 
NotSetThe font size is not set. 
SmallThe base font size determined by the browser. 
SmallerThe font size is one size smaller than the parent element. 
XLargeThe font size is three sizes larger than the base font size. 
XSmallThe font size is one size smaller than the base font size. 
XXLargeThe font size is four sizes larger than the base font size. 
XXSmallThe font size is two sizes smaller than the base font size. 

The FontSize enumeration represents the font sizes defined by HTML 4.0. The font size can be an absolute or relative size.

An absolute font size represents a predefined font size determined by the browser. The possible values for an absolute font size are XXSmall, XSmall, Small, Medium, Large, XLarge, and XXLarge.

A relative font size represents a font size one size larger or smaller than a parent element's font size. The possible values for a relative font size are Smaller and Larger.

NoteNote

Some browers do not recognize Smaller and Larger font sizes. Check with your browser for compatibility.

Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0, 1.1, 1.0
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.