메소드 | 설명 | |
---|---|---|
CanConvertFrom ( ITypeDescriptorContext context, |
Gets a value indicating that this converter can convert from the source type to an image
|
|
CanConvertTo ( ITypeDescriptorContext context, |
Gets a value indicating that this converter can convert to the specified type.
|
|
ConvertFrom ( ITypeDescriptorContext context, System culture, object value ) : object |
Performs the conversion from the given value to an Image object
|
메소드 | 설명 | |
---|---|---|
IsIcon ( string fileName ) : bool |
Determines whether the specified fileName is an icon (ends with .ico)
|
메소드 | 설명 | |
---|---|---|
LoadImage ( NamespaceInfo ns ) : Image | ||
LoadImage ( Stream stream ) : Image | ||
LoadImage ( string resourceName ) : Image |
public CanConvertFrom ( ITypeDescriptorContext context, |
||
context | ITypeDescriptorContext | Conversion context |
sourceType | Type to convert from | |
리턴 | bool |
public CanConvertTo ( ITypeDescriptorContext context, |
||
context | ITypeDescriptorContext | Conversion context |
destinationType | Type to convert to | |
리턴 | bool |
public ConvertFrom ( ITypeDescriptorContext context, System culture, object value ) : object | ||
context | ITypeDescriptorContext | Conversion context |
culture | System | Culture to perform the conversion |
value | object | Value to convert to an image |
리턴 | object |