System::Drawing::Bitmap::LockBits méthode

Bitmap::LockBits(const Rectangle&, Imaging::ImageLockMode, Imaging::PixelFormat) method

Verrouille un Bitmap dans la mémoire système.

Imaging::BitmapDataPtr System::Drawing::Bitmap::LockBits(const Rectangle &rect, Imaging::ImageLockMode flags, Imaging::PixelFormat format)
ParamètreTypeDescription
rectconst Rectangle&Un rectangle qui spécifie la région de l’image à verrouiller
indicateursImaging::ImageLockModeSpécifie le niveau d’accès au bitmap
formatImagerie::FormatPixelLe format de données de ce bitmap

ReturnValue

Un pointeur partagé vers un objet BitmapData contenant des informations sur l’opération de verrouillage effectuée

Voir aussi

Bitmap::LockBits(const Rectangle&, Imaging::ImageLockMode, Imaging::PixelFormat, const Imaging::BitmapDataPtr&) method

Verrouille un Bitmap dans la mémoire système.

Imaging::BitmapDataPtr System::Drawing::Bitmap::LockBits(const Rectangle &rect, Imaging::ImageLockMode flags, Imaging::PixelFormat format, const Imaging::BitmapDataPtr &bitmap_data)
ParamètreTypeDescription
rectconst Rectangle&Un rectangle qui spécifie la région de l’image à verrouiller
indicateursImaging::ImageLockModeSpécifie le niveau d’accès au bitmap
formatImagerie::FormatPixelLe format de données de ce bitmap
bitmap_dataconst Imaging::BitmapDataPtr&Contient des informations sur l’opération de verrouillage

ReturnValue

Un pointeur partagé vers un objet BitmapData contenant des informations sur l’opération de verrouillage effectuée

Voir aussi