The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
FontConverter::ConvertFrom Method (ITypeDescriptorContext^, CultureInfo^, Object^)
.NET Framework (current version)
Converts the specified object to the native type of the converter.
Assembly: System.Drawing (in System.Drawing.dll)
public: virtual Object^ ConvertFrom( ITypeDescriptorContext^ context, CultureInfo^ culture, Object^ value ) override
Parameters
- context
-
Type:
System.ComponentModel::ITypeDescriptorContext^
A formatter context. This object can be used to get additional information about the environment this converter is being called from. This may be null, so you should always check. Also, properties on the context object may also return null.
- culture
-
Type:
System.Globalization::CultureInfo^
A CultureInfo object that specifies the culture used to represent the font.
- value
-
Type:
System::Object^
The object to convert.
| Exception | Condition |
|---|---|
| NotSupportedException | The conversion could not be performed. |
.NET Framework
Available since 1.1
Available since 1.1
Show: