 | FastBitmapLock 方法 (FastBitmapLockFormat) |
Sweet 开发框架
Locks the bitmap to start the bitmap operations. If the bitmap is already locked,
an exception is thrown.
The provided pixel format should be a 32bpp format.
命名空间:
SweetUI
程序集:
SweetUI (在 SweetUI.dll 中) 版本:3.10.1.0 (3.10.1.0)
语法public FastBitmapFastBitmapLocker Lock(
FastBitmapLockFormat pixelFormat
)
Public Function Lock (
pixelFormat As FastBitmapLockFormat
) As FastBitmapFastBitmapLocker
member Lock :
pixelFormat : FastBitmapLockFormat -> FastBitmapFastBitmapLocker
参数
- pixelFormat
- 类型:SweetUIFastBitmapLockFormat
A pixel format to use when locking the underlying bitmap
返回值
类型:
FastBitmapFastBitmapLockerA fast bitmap locked struct that will unlock the underlying bitmap after disposal
异常
参见