System.Web.UI.WebControls (system.web.dll) | sealed class |
This class represents font information and is used in many controls
through the WebControl.Font property. This class
contains the font properties that are supported in ASP.NET Web Forms
and differs slightly from the System.Drawing.Font
object used in other types of .NET applications.
public sealed class FontInfo {
// Public Instance Properties
public bool Bold{set; get; }
public bool Italic{set; get; }
public string Name{set; get; }
public string[ ] Names{set; get; }
public bool Overline{set; get; }
public FontUnit Size{set; get; }
public bool Strikeout{set; get; }
public bool Underline{set; get; }
// Public Instance Methods
public void CopyFrom(FontInfo f);
public void MergeWith(FontInfo f);
public bool ShouldSerializeNames( );
public override string ToString( ); // overrides object
}
Returned By
Style.Font, WebControl.Font
|