NativeEncodeBitmap Method (nprI)
Encodes a raster into BMP image format, using the GDI+ image encoder.
'Declaration
Protected Overrides NotOverridable Function NativeEncodeBitmap( _
ByVal As NRaster _
) As System.Byte()
'Usage
Dim instance As nprI
Dim QprI As NRaster
Dim value() As System.Byte
value = instance.NativeEncodeBitmap(QprI)
protected override System.byte[] NativeEncodeBitmap(
NRaster
)
Parameters
- QprI
- The raster to be encoded.
Return Value
A byte array containing the encoded image data. Returns null if the encoding fails.
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)