ImageConverter Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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 |