 | FastBitmapCopyRegion 方法 (Bitmap, Rectangle, Rectangle) |
Sweet 开发框架
Copies a region of the source bitmap into this fast bitmap
命名空间:
SweetUI
程序集:
SweetUI (在 SweetUI.dll 中) 版本:3.10.1.0 (3.10.1.0)
语法public void CopyRegion(
Bitmap source,
Rectangle srcRect,
Rectangle destRect
)
Public Sub CopyRegion (
source As Bitmap,
srcRect As Rectangle,
destRect As Rectangle
)
member CopyRegion :
source : Bitmap *
srcRect : Rectangle *
destRect : Rectangle -> unit
参数
- source
- 类型:System.DrawingBitmap
The source image to copy - srcRect
- 类型:System.DrawingRectangle
The region on the source bitmap that will be copied over - destRect
- 类型:System.DrawingRectangle
The region on this fast bitmap that will be changed
异常异常 | 条件 |
---|
ArgumentException | The provided source bitmap is the same bitmap locked in this FastBitmap |
参见