NevronOpenVision
Nevron.Nov.Graphics Namespace / NImageEncoder Class / Encode Method
The raster image to encode.
In This Topic
    Encode Method (NImageEncoder)
    In This Topic
    Encodes the specified raster image.
    Syntax
    public abstract System.byte[] Encode( 
       NRaster raster
    )

    Parameters

    raster
    The raster image to encode.

    Return Value

    A byte array containing the encoded image.
    Remarks
    The function throws an exception if it fails to encode the raster.
    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