类库说明文档
![]() | JHZoomImageGenerate Method (Stream, 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( Stream stream, int w, int h, ImageFormat imageFormat )
Parameters
- stream
- Type: System.IOStream
源图像文件流 - 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.IO.Stream,System.Int32,System.Int32,System.Drawing.Imaging.ImageFormat)"]
