←Select platform

ConvertFrom Method

Summary

Attempts to convert a specified object to an instance of RasterImage.

Syntax
C#
VB
C++
public override object ConvertFrom( 
   ITypeDescriptorContext context, 
   CultureInfo culture, 
   object value 
) 
Public Overloads Overrides Function ConvertFrom( _ 
   ByVal context As ITypeDescriptorContext, _ 
   ByVal culture As CultureInfo, _ 
   ByVal value As Object _ 
) As Object 
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 RasterImage.

Remarks

The ConvertFrom method will try to convert the object passed into the value parameter to a valid RasterImage object. For more information, refer to RasterImageTypeConverter.

Example

For an example, refer to RasterImageTypeConverter.

Requirements

Target Platforms

Help Version 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly