类库说明文档
![]() | JHZoomImageGenerate Method (Image, Int32, Int32, ImageFormat) |
按照给定的宽、高生成缩放图
Namespace: DCSoft.Utility.Drawing
Assembly: DCSoft.Utility (in DCSoft.Utility.dll) Version: 0.0.0.0 (1.0.0.0)

C#
public static Stream Generate( Image image, int w, int h, ImageFormat imageFormat )
Parameters
- image
- Type: System.DrawingImage
源图像 - w
- Type: SystemInt32
缩放图的宽(以像素为单位) - h
- Type: SystemInt32
缩放图的高(以像素为单位) - imageFormat
- Type: System.Drawing.ImagingImageFormat
要生成的图像类型
Return Value
Type: Stream[Missing <returns> documentation for "M:DCSoft.Utility.Drawing.JHZoomImage.Generate(System.Drawing.Image,System.Int32,System.Int32,System.Drawing.Imaging.ImageFormat)"]
