ImageHelperResizeImage Method | Helper帮助文档 |
拉伸图片
Namespace: HD.Common
Assembly: HD.Common (in HD.Common.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static Bitmap ResizeImage( Bitmap bmp, int newW, int newH )
Public Shared Function ResizeImage ( bmp As Bitmap, newW As Integer, newH As Integer ) As Bitmap
public: static Bitmap^ ResizeImage( Bitmap^ bmp, int newW, int newH )
static member ResizeImage : bmp : Bitmap * newW : int * newH : int -> Bitmap
Parameters
- bmp
- Type: System.DrawingBitmap
原始图片 - newW
- Type: SystemInt32
新的宽度 - newH
- Type: SystemInt32
新的高度
Return Value
Type: Bitmap[Missing <returns> documentation for "M:HD.Common.ImageHelper.ResizeImage(System.Drawing.Bitmap,System.Int32,System.Int32)"]
See Also