IBitmap Interface
- GetBitmapData
 
- GetInfo
 
- GetBits
 
 
IBitmap interface gives access to Windows bitmaps used in DG Kernel software. 
Parameters of the bitmap, including size, pixel format, etc can be obtained via GetInfo 
method. IBlob obtained via GetBitmapData 
method allows saving or copying bitmap data to a different memory location. 
See also Interface List 
 
HRESULT GetBitmapData(IBlob** fileData) 
Parameters 
fileData - [out] New buffer 
containing copy of bitmap ready for saving as a .bmp file. 
  - Remarks: 
 
 
The methods creates a new Blob, which contains 
the bitmap. The data has structure of a Windows Bitmap (.bmp) file loaded in 
memory. See Bitmap File 
Format for more details.  
 
HRESULT GetInfo(KCBitmap* 
info) 
Parameters 
info - [out] KCBitmap 
structure containing parameters of the bitmap 
  - Remarks: 
 
 
The methods returns information about size, pixel format and other 
information about the bitmap. 
 
HRESULT GetBits(IBlob** image) 
Parameters 
image - [out] Blob, 
which refers to the buffer containing the image bits 
  - Remarks: 
 
 
The method gives read-only access to the memory buffer, which contains bits 
of the bitmap image in format described by the GetInfo method. 
See Bitmap File 
Format for more details. 
  
                 |