GetBitmapRowCol method (Main Control)
Builder Syntax |
int __fastcall GetBitmapRowCol(void * pBuffer, int nRow ,int nCol, unsigned uBytes); |
Delphi Syntax |
function GetBitmapRowCol( pBuffer : pointer; nRow : integer; nCol : integer; uBytes : Cardinal ) : Integer ; |
Overview |
Refer to Examining and Altering Bitmaps. |
Remarks
This method copies image data from the bitmap to a buffer that you specify. The data is copied exactly as it is stored in the image.
Use the BitmapBytesPerLine Property to determine the byte count of each line. Color order is determined by the BitmapOrder Property. This value can be either ORDER_RGB, ORDER_BGR or ORDER_GRAY. ORDER_GRAY is only valid for 12 and 16-bit grayscale images. Support for 12 and 16-bit grayscale images is only available in the Document/Medical toolkits.
See Also
Elements: |
PutBitmapRow method, GetBitmapRowCol method, PutBitmapRowCol method, BitmapBytesPerLine Property, BitmapOrder Property . |
Topics: |