VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging.Codecs.Encoders Namespace / AvailableEncoders Class / CreateEncoder(String) Method
Syntax Requirements SeeAlso
In This Topic
    CreateEncoder(String) Method (AvailableEncoders)
    In This Topic
    Returns the EncoderBase object that should be used for saving the image.
    Syntax
    'Declaration
    
    Public Shared Function CreateEncoder( _
    ByVal filename
    The name of the image file.
    As System.String _
    ) As EncoderBase
    public static EncoderBase CreateEncoder(
    System.String filename
    )
    public: static EncoderBase* CreateEncoder(
    System.String filename
    )
    public:
    static EncoderBase^ CreateEncoder(
    System.String filename
    )

    Parameters

    filename
    The name of the image file.

    Return Value

    EncoderBase object if encoder for specified filename was found, null otherwise.
    Requirements

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

    See Also