AdvancedImageConverterConvertFrom Method
Converts a specified object to an
Image.
Namespace: KGySoft.ComponentModelAssembly: KGySoft.Drawing (in KGySoft.Drawing.dll) Version: 10.0.0-rc.1
public virtual Object ConvertFrom(
ITypeDescriptorContext? context,
CultureInfo? culture,
Object? value
)
Public Overridable Function ConvertFrom (
context As ITypeDescriptorContext,
culture As CultureInfo,
value As Object
) As Object
public:
virtual Object^ ConvertFrom(
ITypeDescriptorContext^ context,
CultureInfo^ culture,
Object^ value
)
abstract ConvertFrom :
context : ITypeDescriptorContext *
culture : CultureInfo *
value : Object -> Object
override ConvertFrom :
context : ITypeDescriptorContext *
culture : CultureInfo *
value : Object -> Object
- context ITypeDescriptorContext
- An ITypeDescriptorContext that provides a format context. In this converter this parameter is ignored.
- culture CultureInfo
- A CultureInfo. In this converter this parameter is ignored.
- value Object
- The Object to be converted.
ObjectIf this method succeeds, it returns the
Image that it created by converting the specified object. Otherwise, it throws an exception.