类库说明文档
![]() | JHZoomImageGenerateByRatio Method (Byte, Double, 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 GenerateByRatio( byte[] bytes, double zoomRatio, ImageFormat imageFormat )
Parameters
- bytes
- Type: SystemByte
二进制数组 - zoomRatio
- Type: SystemDouble
缩放比例 - imageFormat
- Type: System.Drawing.ImagingImageFormat
要生成的图像类型
Return Value
Type: Stream[Missing <returns> documentation for "M:DCSoft.Utility.Drawing.JHZoomImage.GenerateByRatio(System.Byte[],System.Double,System.Drawing.Imaging.ImageFormat)"]
