Edit

ImageConverter Class

Definition

ImageConverter is a class that can be used to convert Image objects from one data type to another. Access this class through the TypeDescriptor object.

public ref class ImageConverter : System::ComponentModel::TypeConverter
public class ImageConverter : System.ComponentModel.TypeConverter
type ImageConverter = class
    inherit TypeConverter
Public Class ImageConverter
Inherits TypeConverter
Inheritance
ImageConverter

Constructors

Name Description
ImageConverter()

Initializes a new instance of the ImageConverter class.

Methods

Name Description
CanConvertFrom(ITypeDescriptorContext, Type)

Determines whether this ImageConverter can convert an instance of a specified type to an Image, using the specified context.

CanConvertTo(ITypeDescriptorContext, Type)

Determines whether this ImageConverter can convert an Image to an instance of a specified type, using the specified context.

ConvertFrom(ITypeDescriptorContext, CultureInfo, Object)

Converts a specified object to an Image.

ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type)

Converts an Image (or an object that can be cast to an Image) to the specified type.

GetProperties(ITypeDescriptorContext, Object, Attribute[])

Gets the set of properties for this type.

GetPropertiesSupported(ITypeDescriptorContext)

Indicates whether this object supports properties. By default, this is false.

Applies to