Leadtools.Windows.Controls.Pro Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.03.25
CanConvertFrom(ITypeDescriptorContext,Type) Method
See Also 
Leadtools.Windows.Controls Namespace > RasterImageConverter Class > CanConvertFrom Method : CanConvertFrom(ITypeDescriptorContext,Type) Method




context
Type context used for conversion
sourceType
The source type to be converted
This member overrides TypeConverter.CanConvertFrom.

Syntax

Visual Basic (Declaration) 
Overloads Overrides Public Function CanConvertFrom( _
   ByVal context As ITypeDescriptorContext, _
   ByVal sourceType As Type _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As RasterImageConverter
Dim context As ITypeDescriptorContext
Dim sourceType As Type
Dim value As Boolean
 
value = instance.CanConvertFrom(context, sourceType)
C# 
public override bool CanConvertFrom( 
   ITypeDescriptorContext context,
   Type sourceType
)
Managed Extensions for C++ 
public: bool CanConvertFrom( 
   ITypeDescriptorContext context,
   Type* sourceType
) override 
C++/CLI 
public:
bool CanConvertFrom( 
   ITypeDescriptorContext context,
   Type^ sourceType
) override 

Parameters

context
Type context used for conversion
sourceType
The source type to be converted

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family

See Also

Leadtools.Windows.Controls.Pro.dxp requires a WFP Module license and unlock key. For more information, refer to: Raster Pro/Document/Medical Features and Unlocking Special LEAD Features.