Nevron Open Vision Documentation
Nevron.Nov.Internal Namespace / YCSI Class / NativeDecodeImageData Method
Encoded image data.
The format of the data in the byte array. Cannot be null.


In This Topic
    NativeDecodeImageData Method (YCSI)
    In This Topic
    Decodes the specified image data using WPF image decoders.
    Syntax
    'Declaration
     
    
    Protected Overrides NotOverridable Function NativeDecodeImageData( _
       ByVal AdSI() As System.Byte, _
       ByVal bdSI As NImageFormat _
    ) As NRaster
    'Usage
     
    
    Dim instance As YCSI
    Dim AdSI() As System.Byte
    Dim bdSI As NImageFormat
    Dim value As NRaster
     
    value = instance.NativeDecodeImageData(AdSI, bdSI)
    protected override NRaster NativeDecodeImageData( 
       System.byte[] AdSI,
       NImageFormat bdSI
    )

    Parameters

    AdSI
    Encoded image data.
    bdSI
    The format of the data in the byte array. Cannot be null.

    Return Value

    Returns a raster that contains the decoded image data. Returns null if the decoding was not successful.
    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