Graphics.DrawImageUnscaledAndClipped
Graphics.DrawImageUnscaledAndClipped method
在不进行缩放的情况下绘制指定的图像,并在必要时裁剪它以适应指定的矩形。
public void DrawImageUnscaledAndClipped(Image sourceImage, Rectangle rect)
| 参数 | 类型 | 描述 |
|---|---|---|
| sourceImage | 图像 | 用于绘制的图像。 |
| rect | Rectangle | 用于绘制图像的 Rectangle。 |
异常
| 异常 | 条件 |
|---|---|
| ArgumentNullException | sourceImage 为 null。 |
另请参见
- class Image
- struct Rectangle
- class Graphics
- namespace Aspose.Imaging
- assembly Aspose.Imaging