FontInfo Class
.NET Framework 3.0
Encapsulates the font properties of text. This class cannot be inherited.
Namespace: System.Web.UI.WebControls
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
[TypeConverterAttribute(typeof(ExpandableObjectConverter))] public ref class FontInfo sealed
/** @attribute TypeConverterAttribute(System.ComponentModel.ExpandableObjectConverter) */ public final class FontInfo
TypeConverterAttribute(System.ComponentModel.ExpandableObjectConverter) public final class FontInfo
Not applicable.
Use the FontInfo class to encapsulate the font properties of text. You can specify the font name and font size. You can also specify whether the style of the font is bold, italic, overlined, strikethrough, or underlined.
This class is commonly used in a property for a class that requires font information, such as the Font property of the WebControl class.
Note: |
|---|
| This class does not have a public constructor. A new instance of the class cannot be created directly. |
- AspNetHostingPermission for operating in a hosted environment. Demand value: LinkDemand; Permission value: Minimal.
Community Additions
ADD
Show:
Note: