Graphics.DrawImageUnscaledAndClipped
Graphics.DrawImageUnscaledAndClipped method
Draws the specified image without scaling and clips it, if necessary, to fit in the specified rectangle.
public void DrawImageUnscaledAndClipped(Image sourceImage, Rectangle rect)
| Parameter | Type | Description |
|---|---|---|
| sourceImage | Image | The image to draw with. |
| rect | Rectangle | The Rectangle in which to draw the image. |
Exceptions
| exception | condition |
|---|---|
| ArgumentNullException | sourceImage is null. |
See Also
- class Image
- struct Rectangle
- class Graphics
- namespace Aspose.Imaging
- assembly Aspose.Imaging