FontConverter

System.Drawing.FontConverter

Namespace: System.Drawing

Assembly: System.Drawing.Managed (4.0.0.0)

FontConverter is a class that can be used to convert fonts from one data type to another. Access this class through the TypeDescriptor.

public class FontConverter : TypeConverter

Constructors

FontConverter()

Initializes a new instance of FontConverter.

Methods

CanConvertFrom(context, sourceType)

Parameter
Type
Description

Returns: Boolean.

CanConvertTo(context, destinationType)

Parameter
Type
Description

destinationType

Returns: Boolean.

ConvertFrom(context, culture, value)

Parameter
Type
Description

Returns: Object.

ConvertTo(context, culture, value, destinationType)

Parameter
Type
Description

value

destinationType

Returns: Object.

CreateInstance(context, propertyValues)

Parameter
Type
Description

Returns: Object.

GetCreateInstanceSupported(context)

Parameter
Type
Description

Returns: Boolean.

GetProperties(context, value, attributes)

Parameter
Type
Description

Returns: PropertyDescriptorCollection.

GetPropertiesSupported(context)

Parameter
Type
Description

Returns: Boolean.

GetStandardValuesExclusive(context)

Parameter
Type
Description

Returns: Boolean.

Last updated

Was this helpful?