ImageConverter Class |
Note: This API is now obsolete.
Namespace: Eto.Drawing
The ImageConverter type exposes the following members.
| Name | Description | |
|---|---|---|
| ImageConverter | Initializes a new instance of the ImageConverter class |
| Name | Description | |
|---|---|---|
| CanConvertFrom |
Gets a value indicating that this converter can convert from the source type to an image
(Overrides TypeConverterCanConvertFrom(ITypeDescriptorContext, Type).) | |
| CanConvertTo |
Gets a value indicating that this converter can convert to the specified type.
(Overrides TypeConverterCanConvertTo(ITypeDescriptorContext, Type).) | |
| ConvertFrom |
Performs the conversion from the given value to an Image object
(Overrides TypeConverterConvertFrom(ITypeDescriptorContext, CultureInfo, Object).) | |
| IsIcon |
Determines whether the specified fileName is an icon (ends with .ico)
|
| Name | Description | |
|---|---|---|
| FilePrefix |
Prefix to use to load an image from a file path
| |
| ResourcePrefix |
Prefix to use to load an image from a resource of an assembly
|