Method function IGDIPlus.IGPBitmap.LockBits(TGPRect;Cardinal;TGPPixelFormat) : IGPBitmapData
This is a Beta Read Only version of this page. Please review and send recommendations to mitov@mitov.com. We will enable the editing as soon as we are happy with the overall Wiki site.
Class: IGPBitmap
Contents |
Syntax
Delphi:
function LockBits( rect : TGPRect, flags : Cardinal, format : TGPPixelFormat ) : IGPBitmapData;
C++ Builder:
IGPBitmapData __fastcall LockBits( TGPRect rect, unsigned int flags, TGPPixelFormat format );
Visual C++ (MFC):
LockBits( rect, flags, format );
Summary
Locks a rectangular portion of this bitmap and provides a temporary buffer.
Description
Call this method to lock a rectangular portion of this bitmap and get a temporary buffer that you can use to read or write pixel data in a specified format. Any pixel data that you write to the buffer is copied to the Bitmap object when the IGPBitmapData object is released.