This documentation is archived and is not being maintained.

FontUnitConverter Class

Converts a FontUnit to an object with another data type. It also converts an object with another data type to a FontUnit.

For a list of all members of this type, see FontUnitConverter Members.

System.Object
   System.ComponentModel.TypeConverter
      System.Web.UI.WebControls.FontUnitConverter

[Visual Basic]
Public Class FontUnitConverter
   Inherits TypeConverter
[C#]
public class FontUnitConverter : TypeConverter
[C++]
public __gc class FontUnitConverter : public TypeConverter
[JScript]
public class FontUnitConverter extends TypeConverter

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Remarks

The FontUnitConverter class to used to convert a FontUnit to an object with another data type.

Note   This converter can only convert a string to a FontUnit.

You can also use the FontUnitConverter class to convert an object with another data type to a FontUnit.

CAUTION   You should never access a type converter directly. Instead, call the appropriate converter by using System.ComponentModel.TypeDescriptor. For more information, see the examples in the System.ComponentModel.TypeConverter base class.

Requirements

Namespace: System.Web.UI.WebControls

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

Assembly: System.Web (in System.Web.dll)

See Also

FontUnitConverter Members | System.Web.UI.WebControls Namespace | Unit | System.ComponentModel.TypeDescriptor | System.ComponentModel.TypeConverter

Show: