PixelFormatConverter 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.
Converts a PixelFormat to and from other data types.
public ref class PixelFormatConverter sealed : System::ComponentModel::TypeConverter
public sealed class PixelFormatConverter : System.ComponentModel.TypeConverter
type PixelFormatConverter = class
inherit TypeConverter
Public NotInheritable Class PixelFormatConverter
Inherits TypeConverter
- Inheritance
Constructors
| Name | Description |
|---|---|
| PixelFormatConverter() |
Creates a new instance of a PixelFormatConverter class. |
Methods
| Name | Description |
|---|---|
| CanConvertFrom(ITypeDescriptorContext, Type) |
Determines whether the converter can convert an object of the given type to an instance of PixelFormat. |
| CanConvertTo(ITypeDescriptorContext, Type) |
Determines whether an instance of PixelFormat can be converted to a different type. |
| ConvertFrom(ITypeDescriptorContext, CultureInfo, Object) |
Attempts to convert a specified object to an instance of PixelFormat. |
| ConvertFromString(String) |
Attempts to convert a string to a PixelFormat. |
| ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type) |
Attempts to convert an instance of PixelFormat to a specified type. |