System::Drawing::Bitmap::LockBits méthode
Contenu
[
Cacher
]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ètre | Type | Description |
|---|---|---|
| rect | const Rectangle& | Un rectangle qui spécifie la région de l’image à verrouiller |
| indicateurs | Imaging::ImageLockMode | Spécifie le niveau d’accès au bitmap |
| format | Imagerie::FormatPixel | Le 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
- Typedef BitmapDataPtr
- Class Rectangle
- Enum ImageLockMode
- Enum PixelFormat
- Class Bitmap
- Namespace System::Drawing
- Library Aspose.Font for C++
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ètre | Type | Description |
|---|---|---|
| rect | const Rectangle& | Un rectangle qui spécifie la région de l’image à verrouiller |
| indicateurs | Imaging::ImageLockMode | Spécifie le niveau d’accès au bitmap |
| format | Imagerie::FormatPixel | Le format de données de ce bitmap |
| bitmap_data | const 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
- Typedef BitmapDataPtr
- Class Rectangle
- Enum ImageLockMode
- Enum PixelFormat
- Class Bitmap
- Namespace System::Drawing
- Library Aspose.Font for C++