Click or drag to resize

ImageConverter Class

Note: This API is now obsolete.

Converter to convert a string to an Image
Inheritance Hierarchy

Namespace:  Eto.Drawing
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
[ObsoleteAttribute("Since 2.5. Use TypeDescriptor.GetConverter instead")]
public class ImageConverter : TypeConverter

The ImageConverter type exposes the following members.

Constructors
  NameDescription
Public methodImageConverter
Initializes a new instance of the ImageConverter class
Top
Methods
  NameDescription
Public methodCanConvertFrom
Gets a value indicating that this converter can convert from the source type to an image
(Overrides TypeConverterCanConvertFrom(ITypeDescriptorContext, Type).)
Public methodCanConvertTo
Gets a value indicating that this converter can convert to the specified type.
(Overrides TypeConverterCanConvertTo(ITypeDescriptorContext, Type).)
Public methodConvertFrom
Performs the conversion from the given value to an Image object
(Overrides TypeConverterConvertFrom(ITypeDescriptorContext, CultureInfo, Object).)
Protected methodIsIcon
Determines whether the specified fileName is an icon (ends with .ico)
Top
Fields
  NameDescription
Public fieldStatic memberFilePrefix
Prefix to use to load an image from a file path
Public fieldStatic memberResourcePrefix
Prefix to use to load an image from a resource of an assembly
Top
See Also