Nevron Open Vision Documentation
Nevron.Nov.Graphics Namespace / NImageData Class / Decode Method / Decode(ENCodecPreference) Method
Specifies decoder preference.


In This Topic
    Decode(ENCodecPreference) Method
    In This Topic
    Decodes the image data.
    Syntax
    'Declaration
     
    
    Public Overloads Function Decode( _
       ByVal decoderPreference As ENCodecPreference _
    ) As NRaster
    'Usage
     
    
    Dim instance As NImageData
    Dim decoderPreference As ENCodecPreference
    Dim value As NRaster
     
    value = instance.Decode(decoderPreference)

    Parameters

    decoderPreference
    Specifies decoder preference.

    Return Value

    Returns a raster object that contains the decoded image data.
    Remarks
    The method throws an exception if it fails to decode the image data.
    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