VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging Namespace / RegionOfInterestTypeConverter Class / CanConvertFrom Methods / CanConvertFrom(ITypeDescriptorContext,Type) Method
Syntax Requirements SeeAlso
In This Topic
CanConvertFrom(ITypeDescriptorContext,Type) Method (RegionOfInterestTypeConverter)
In This Topic
Determines whether this converter can convert an object in the specified source type to the native type of the converter.
Syntax
'Declaration

Public Overloads Overrides Function CanConvertFrom( _
ByVal context
A formatter context.
As System.ComponentModel.ITypeDescriptorContext, _
ByVal sourceType
The type you want to convert from.
As System.Type _
) As Boolean

Parameters

context
A formatter context.
sourceType
The type you want to convert from.

Return Value

True if this object can perform the conversion; otherwise, false.
Requirements

Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also