Name

FontNamesConverter

Synopsis

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.

Public Class FontNamesConverter : Inherits System.ComponentModel.TypeConverter
' Public Constructors
   Public Sub New() 
' Public Instance Methods
   Overrides Public Function CanConvertFrom(
        ByVal context As System.ComponentModel.ITypeDescriptorContext, 
        ByVal sourceType As Type) As Boolean  
   Overrides Public Function ConvertFrom(
        ByVal context As System.ComponentModel.ITypeDescriptorContext, 
        ByVal culture As System.Globalization.CultureInfo, 
        ByVal value As Object) As Object  
   Overrides Public Function ConvertTo(
        ByVal context As System.ComponentModel.ITypeDescriptorContext, 
        ByVal culture As System.Globalization.CultureInfo, 
        ByVal value As Object, 
        ByVal destinationType As Type) As Object  
End Class

Hierarchy

System.ObjectSystem.ComponentModel.TypeConverter FontNamesConverter

Get ASP.NET in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.