public override bool CanConvertFrom(
ITypeDescriptorContext context,
Type sourceType
)
public:
bool CanConvertFrom(
ITypeDescriptorContext^ context,
Type^ sourceType
) override
def CanConvertFrom(self,context,sourceType):
context
Type context information used to evaluate conversion.
sourceType
The type of the source that is being evaluated for conversion.
true if the converter can convert the provided type to an instance of RasterImage; otherwise, false.
The CanConvertFrom method will return true if any of the supported object types is passed into the sourceType parameter. However, this does not mean that the conversion operation will succeed, this depends on whether the data contains a valid image that LEADTOOLS can load. For more information, refer to RasterImageTypeConverter.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document