FontInfo

FontInfo

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



ASP. NET in a Nutshell
ASP.NET in a Nutshell, Second Edition
ISBN: 0596005202
EAN: 2147483647
Year: 2003
Pages: 873

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net