AdvancedImageConverterConvertFrom Method

Converts a specified object to an Image.

Definition

Namespace: KGySoft.ComponentModel
Assembly: KGySoft.Drawing (in KGySoft.Drawing.dll) Version: 10.0.0-rc.1
C#
public virtual Object ConvertFrom(
	ITypeDescriptorContext? context,
	CultureInfo? culture,
	Object? value
)

Parameters

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.

Return Value

Object
If this method succeeds, it returns the Image that it created by converting the specified object. Otherwise, it throws an exception.

See Also