LEADTOOLS Image File Support (Leadtools.Codecs assembly)
LEAD Technologies, Inc

ConvertFrom(ITypeDescriptorContext,CultureInfo,Object) Method






Type context information used for conversion.
Cultural information that is respected during conversion.
The object being converted.
Attempts to convert a specified object to an instance of Leadtools.RasterImage. .NET support Silverlight support
Syntax
public override object ConvertFrom( 
   ITypeDescriptorContext context,
   CultureInfo culture,
   object value
)
'Declaration
 
Public Overloads Overrides Function ConvertFrom( _
   ByVal context As ITypeDescriptorContext, _
   ByVal culture As CultureInfo, _
   ByVal value As Object _
) As Object
'Usage
 
Dim instance As RasterImageTypeConverter
Dim context As ITypeDescriptorContext
Dim culture As CultureInfo
Dim value As Object
Dim value As Object
 
value = instance.ConvertFrom(context, culture, value)
public override object ConvertFrom( 
   ITypeDescriptorContext context,
   CultureInfo culture,
   object value
)
 function Leadtools.Codecs.RasterImageTypeConverter.ConvertFrom(ITypeDescriptorContext,CultureInfo,Object)( 
   context ,
   culture ,
   value 
)
public:
Object^ ConvertFrom( 
   ITypeDescriptorContext^ context,
   CultureInfo^ culture,
   Object^ value
) override 

Parameters

context
Type context information used for conversion.
culture
Cultural information that is respected during conversion.
value
The object being converted.

Return Value

A new instance of Leadtools.RasterImage.
Remarks

The ConvertFrom(ITypeDescriptorContext,CultureInfo,Object) method will try to convert the object passed into the value parameter to a valid Leadtools.RasterImage object. For more information, refer to RasterImageTypeConverter.

Example
For an example, refer to RasterImageTypeConverter.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

RasterImageTypeConverter Class
RasterImageTypeConverter Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.