
FontSize | 855
WebControls
Namespace
This is the Title of the Book, eMatter Edition
Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.
Returned By
Style.Font, WebControl.Font
FontNamesConverter
System.Web.UI.WebControls (system.web.dll)
class
The FontNamesConverter class is a type converter that can convert between a font name
array and a string that contains a list of font names separated by commas (as often
appears in an HTML page). This class is never accessed directly. You can access its
functionality through the System.ComponentModel.TypeDescriptor helper class.
Hierarchy
System.Object ➝ System.ComponentModel.TypeConverter ➝ FontNamesConverter
FontSize
System.Web.UI.WebControls (system.web.dll)
serializable
enum
This enumeration is used to set the FontUnit.Type property using one of the font size
constants defined by the HTML 4.0 standard.
public void CopyFrom( FontInfo f);
public void MergeWith( FontInfo f);
public bool ShouldSerializeNames();
public override string ToString(); // overrides object
}
public class FontNamesConverter : System.ComponentModel.TypeConverter {
// Public Constructors
public FontNamesConverter();
// Public Instance Methods
public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext context,
Type sourceType); // overrides System.ComponentModel.TypeConverter
public override object ConvertFrom(System.ComponentModel.ITypeDescriptorContext ...