ImageGear for .NET
ConvertTo(ITypeDescriptorContext,CultureInfo,Object,Type) Method
See Also  Send Feedback
ImageGear21.Core Assembly > ImageGear.Display Namespace > ImGearPageDisplayConverter Class > ConvertTo Method : ConvertTo(ITypeDescriptorContext,CultureInfo,Object,Type) Method




context
A formatter context. Use this object to extract additional information about the environment from which this converter is being invoked. Always check whether this value is null. Also, properties on the context object may also return null.
culture
A CultureInfo object that specifies the culture to represent the Color.
value
The object to convert.
destinationType
The type to convert the object to.

Glossary Item Box

Converts the value to the specified type.

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

Parameters

context
A formatter context. Use this object to extract additional information about the environment from which this converter is being invoked. Always check whether this value is null. Also, properties on the context object may also return null.
culture
A CultureInfo object that specifies the culture to represent the Color.
value
The object to convert.
destinationType
The type to convert the object to.

Return Value

The converted object. If this method cannot convert to the destination type, it throws a NotSupportedException.

See Also

©2013. Accusoft Corporation. All Rights Reserved.