 | FastBitmapSliceBitmap 方法 |
Sweet 开发框架
Returns a bitmap that is a slice of the original provided 32bpp Bitmap.
The region must have a width and a height > 0, and must lie inside the source bitmap's area
命名空间:
SweetUI
程序集:
SweetUI (在 SweetUI.dll 中) 版本:3.10.1.0 (3.10.1.0)
语法public static Bitmap SliceBitmap(
Bitmap source,
Rectangle region
)
Public Shared Function SliceBitmap (
source As Bitmap,
region As Rectangle
) As Bitmap
static member SliceBitmap :
source : Bitmap *
region : Rectangle -> Bitmap
参数
- source
- 类型:System.DrawingBitmap
The source bitmap to slice - region
- 类型:System.DrawingRectangle
The region of the source bitmap to slice
返回值
类型:
BitmapA Bitmap that represents the rectangle region slice of the source bitmap
异常
参见