ASP.NET.in.a.Nutshell.Second.Edition [Electronic resources]

G. andrew Duthie; matthew Macdonald

نسخه متنی -صفحه : 873/ 582
نمايش فراداده

FontInfo.NET 1.1

System.Web.UI.MobileControls (system.web.mobile.dll)class

The FontInfo class provides a subset of the functionality of the System.Web.UI.WebControls.FontInfo, which represents the font specifications supported by mobile devices. These include the ability to specify font family, italic and bold styles, and the font size (which only supports the limited set of values provided by the FontSize enumeration).

public class 

FontInfo { // Public Instance Properties public BooleanOption

Bold {set; get; } public BooleanOption

Italic {set; get; } public string

Name {set; get; } public FontSize

Size {set; get; } // Public Instance Methods public override string

ToString ( ); // overrides object }

Returned By

MobileControl.Font, Style.Font