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.
    Public Overloads Function Decode( _
       ByVal decoderPreference As ENCodecPreference _
    ) As NRaster
    Dim instance As NImageData
    Dim decoderPreference As ENCodecPreference
    Dim value As NRaster
    value = instance.Decode(decoderPreference)


    Specifies decoder preference.

    Return Value

    Returns a raster object that contains the decoded image data.
    The method throws an exception if it fails to decode the image data.

    Target Platforms: Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, 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), Windows Server 2003 SP2

    See Also