Nevron Open Vision Documentation
Nevron.Nov.Graphics Namespace / NImageFormat Class / CreateEncoder Method
Settings for the encoder


In This Topic
    CreateEncoder Method (NImageFormat)
    In This Topic
    Creates an encoder for the image format.
    Syntax
    'Declaration
     
    
    Public Function CreateEncoder( _
       ByVal settings As NImageEncoderSettings _
    ) As NImageEncoder
    'Usage
     
    
    Dim instance As NImageFormat
    Dim settings As NImageEncoderSettings
    Dim value As NImageEncoder
     
    value = instance.CreateEncoder(settings)
    public NImageEncoder CreateEncoder( 
       NImageEncoderSettings settings
    )

    Parameters

    settings
    Settings for the encoder

    Return Value

    An encoder for the image format.
    Remarks
    The method throws an exception if a decoder cannot be created.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also