AnnotationPenConverterCanConvertFrom Method (ITypeDescriptorContext, Type) |
Returns whether this converter can convert an object of the given type to the type of this converter,
using the specified context.
Namespace:
Atalasoft.Annotate.Converters
Assembly:
Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public override bool CanConvertFrom(
ITypeDescriptorContext context,
Type sourceType
)
Public Overrides Function CanConvertFrom (
context As ITypeDescriptorContext,
sourceType As Type
) As Boolean
Parameters
- context
- Type: System.ComponentModelITypeDescriptorContext
An ITypeDescriptorContext that provides a format context. - sourceType
- Type: SystemType
A Type that represents the type you want to convert from.
Return Value
Type:
BooleanTrue if this converter can perform the conversion; otherwise, false.
See Also