←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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly