VintaSoft Imaging .NET SDK 14.0: Documentation for Web developer
Vintasoft.Imaging.TypeConverters Namespace / ResolutionConverter Class / ConvertFrom Methods / ConvertFrom(ITypeDescriptorContext,CultureInfo,Object) Method
Syntax Requirements SeeAlso
In This Topic
    ConvertFrom(ITypeDescriptorContext,CultureInfo,Object) Method (ResolutionConverter)
    In This Topic
    Converts the specified object to a Vintasoft.Imaging.Resolution object.
    Syntax
    'Declaration
    
    Public Overloads Overrides Function ConvertFrom( _
    ByVal context
    A formatter context. This object can be used to get additional information about the environment this converter is being called from. This may be null, so you should always check. Also, properties on the context object may also return null.
    As System.ComponentModel.ITypeDescriptorContext, _
    ByVal culture
    An object that contains culture specific information, such as the language, calendar, and cultural conventions associated with a specific culture. It is based on the RFC 1766 standard.
    As System.Globalization.CultureInfo, _
    ByVal value
    The object to convert.
    As Object _
    ) As Object

    Parameters

    context
    A formatter context. This object can be used to get additional information about the environment this converter is being called from. This may be null, so you should always check. Also, properties on the context object may also return null.
    culture
    An object that contains culture specific information, such as the language, calendar, and cultural conventions associated with a specific culture. It is based on the RFC 1766 standard.
    value
    The object to convert.

    Return Value

    The converted object.
    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7, .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5

    See Also