NevronOpenVision
Nevron.Nov.Graphics Namespace / NImageService Class / NativeEncodeBitmap Method
The raster to be encoded.
NativeEncodeBitmap Method
Encodes a raster into BMP image format, using the image encoding capabilities of the underlying platform. Must be implemented in the image service of a platform host.
Syntax
protected abstract System.byte[] NativeEncodeBitmap( 
   NRaster raster
)

Parameters

raster
The raster to be encoded.

Return Value

A byte array containing the encoded image data. Returns null if the encoding fails.
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