点击或拖拽改变大小

FastBitmapCopyPixels 方法

Sweet 开发框架
Performs a copy operation of the pixels from the Source bitmap to the Target bitmap. If the dimensions or pixel depths of both images don't match, the copy is not performed

命名空间:  SweetUI
程序集:  SweetUI (在 SweetUI.dll 中) 版本:3.10.1.0 (3.10.1.0)
语法
public static bool CopyPixels(
	Bitmap source,
	Bitmap target
)

参数

source
类型:System.DrawingBitmap
The bitmap to copy the pixels from
target
类型:System.DrawingBitmap
The bitmap to copy the pixels to

返回值

类型:Boolean
Whether the copy proceedure was successful
异常
异常条件
ArgumentExceptionThe provided source and target bitmaps are the same
参见
SweetUI 控件库、工具类库、扩展类库、多页面开发框架