## DrawImage(Image, int, int) {#drawimage_20}

Draws the specified image, using its original physical size, at the location specified by a coordinate pair.

```csharp
public void DrawImage(Image sourceImage, int x, int y)
```

| Parameter | Type | Description |
| --- | --- | --- |
| sourceImage | Image | The image to draw with. |
| x | Int32 | The x-coordinate of the upper-left corner of the drawn image. |
| y | Int32 | The y-coordinate of the upper-left corner of the drawn image. |

### Exceptions

| exception | condition |
| --- | --- |
| ArgumentNullException | *sourceImage* is null. |

### See Also

* class [Image](../../image/)
* class [Graphics](../)
* namespace [Aspose.Imaging](../../graphics/)
* assembly [Aspose.Imaging](../../../)

---

## DrawImage(Image, Rectangle) {#drawimage_10}

Draws the specified [`Image`](../image/) at the specified location and with the specified size.

```csharp
public void DrawImage(Image sourceImage, Rectangle rect)
```

| Parameter | Type | Description |
| --- | --- | --- |
| sourceImage | Image | The image to draw with. |
| rect | Rectangle | [`Rectangle`](../../rectangle/) structure that specifies the location and size of the drawn image. |

### Exceptions

| exception | condition |
| --- | --- |
| ArgumentNullException | *sourceImage* is null. |

### See Also

* class [Image](../../image/)
* struct [Rectangle](../../rectangle/)
* class [Graphics](../)
* namespace [Aspose.Imaging](../../graphics/)
* assembly [Aspose.Imaging](../../../)

---

## DrawImage(Image, int, int, int, int) {#drawimage_21}

Draws the specified [`Image`](../image/) at the specified location and with the specified size.

```csharp
public void DrawImage(Image sourceImage, int x, int y, int width, int height)
```

| Parameter | Type | Description |
| --- | --- | --- |
| sourceImage | Image | The image to draw with. |
| x | Int32 | The x-coordinate of the upper-left corner of the drawn image. |
| y | Int32 | The y-coordinate of the upper-left corner of the drawn image. |
| width | Int32 | Width of the drawn image. |
| height | Int32 | Height of the drawn image. |

### Exceptions

| exception | condition |
| --- | --- |
| ArgumentNullException | *sourceImage* is null. |

### See Also

* class [Image](../../image/)
* class [Graphics](../)
* namespace [Aspose.Imaging](../../graphics/)
* assembly [Aspose.Imaging](../../../)

---

## DrawImage(Image, PointF) {#drawimage_1}

Draws the specified [`Image`](../image/), using its original physical size, at the specified location.

```csharp
public void DrawImage(Image sourceImage, PointF point)
```

| Parameter | Type | Description |
| --- | --- | --- |
| sourceImage | Image | The image to draw with. |
| point | PointF | [`PointF`](../../pointf/) structure that represents the upper-left corner of the drawn image. |

### Exceptions

| exception | condition |
| --- | --- |
| ArgumentNullException | *sourceImage* is null. |

### See Also

* class [Image](../../image/)
* struct [PointF](../../pointf/)
* class [Graphics](../)
* namespace [Aspose.Imaging](../../graphics/)
* assembly [Aspose.Imaging](../../../)

---

## DrawImage(Image, float, float) {#drawimage_22}

Draws the specified [`Image`](../image/), using its original physical size, at the specified location.

```csharp
public void DrawImage(Image sourceImage, float x, float y)
```

| Parameter | Type | Description |
| --- | --- | --- |
| sourceImage | Image | The image to draw with. |
| x | Single | The x-coordinate of the upper-left corner of the drawn image. |
| y | Single | The y-coordinate of the upper-left corner of the drawn image. |

### Exceptions

| exception | condition |
| --- | --- |
| ArgumentNullException | *sourceImage* is null. |

### See Also

* class [Image](../../image/)
* class [Graphics](../)
* namespace [Aspose.Imaging](../../graphics/)
* assembly [Aspose.Imaging](../../../)

---

## DrawImage(Image, RectangleF) {#drawimage_15}

Draws the specified [`Image`](../image/) at the specified location and with the specified size.

```csharp
public void DrawImage(Image sourceImage, RectangleF rect)
```

| Parameter | Type | Description |
| --- | --- | --- |
| sourceImage | Image | The image to draw with. |
| rect | RectangleF | [`RectangleF`](../../rectanglef/) structure that specifies the location and size of the drawn image. |

### Exceptions

| exception | condition |
| --- | --- |
| ArgumentNullException | *sourceImage* is null. |

### See Also

* class [Image](../../image/)
* struct [RectangleF](../../rectanglef/)
* class [Graphics](../)
* namespace [Aspose.Imaging](../../graphics/)
* assembly [Aspose.Imaging](../../../)

---

## DrawImage(Image, Rectangle, GraphicsUnit) {#drawimage_11}

Draws the specified [`Image`](../image/) at the specified location and with the specified size.

```csharp
public void DrawImage(Image sourceImage, Rectangle rectDestination, GraphicsUnit graphicsUnit)
```

| Parameter | Type | Description |
| --- | --- | --- |
| sourceImage | Image | The image to draw with. |
| rectDestination | Rectangle | The destination rectangle. |
| graphicsUnit | GraphicsUnit | The graphics unit. |

### Exceptions

| exception | condition |
| --- | --- |
| ArgumentNullException | *sourceImage* is null. |

### See Also

* class [Image](../../image/)
* struct [Rectangle](../../rectangle/)
* enum [GraphicsUnit](../../graphicsunit/)
* class [Graphics](../)
* namespace [Aspose.Imaging](../../graphics/)
* assembly [Aspose.Imaging](../../../)

---

## DrawImage(Image, RectangleF, GraphicsUnit) {#drawimage_16}

Draws the specified [`Image`](../image/) at the specified location and with the specified size.

```csharp
public void DrawImage(Image sourceImage, RectangleF rectDestination, GraphicsUnit graphicsUnit)
```

| Parameter | Type | Description |
| --- | --- | --- |
| sourceImage | Image | The image to draw with. |
| rectDestination | RectangleF | The destination rectangle. |
| graphicsUnit | GraphicsUnit | The graphics unit. |

### Exceptions

| exception | condition |
| --- | --- |
| ArgumentNullException | *sourceImage* is null. |

### See Also

* class [Image](../../image/)
* struct [RectangleF](../../rectanglef/)
* enum [GraphicsUnit](../../graphicsunit/)
* class [Graphics](../)
* namespace [Aspose.Imaging](../../graphics/)
* assembly [Aspose.Imaging](../../../)

---

## DrawImage(Image, Rectangle, GraphicsUnit, ImageAttributes) {#drawimage_12}

Draws the specified [`Image`](../image/) at the specified location and with the specified size.

```csharp
public void DrawImage(Image sourceImage, Rectangle rectDestination, GraphicsUnit graphicsUnit, 
    ImageAttributes imageAttributes)
```

| Parameter | Type | Description |
| --- | --- | --- |
| sourceImage | Image | The image to draw with. |
| rectDestination | Rectangle | The destination rectangle. |
| graphicsUnit | GraphicsUnit | The graphics unit. |
| imageAttributes | ImageAttributes | The image attributes. |

### Exceptions

| exception | condition |
| --- | --- |
| ArgumentNullException | *sourceImage* is null. |

### See Also

* class [Image](../../image/)
* struct [Rectangle](../../rectangle/)
* enum [GraphicsUnit](../../graphicsunit/)
* class [ImageAttributes](../../imageattributes/)
* class [Graphics](../)
* namespace [Aspose.Imaging](../../graphics/)
* assembly [Aspose.Imaging](../../../)

---

## DrawImage(Image, RectangleF, GraphicsUnit, ImageAttributes) {#drawimage_17}

Draws the specified [`Image`](../image/) at the specified location and with the specified size.

```csharp
public void DrawImage(Image sourceImage, RectangleF rectDestination, GraphicsUnit graphicsUnit, 
    ImageAttributes imageAttributes)
```

| Parameter | Type | Description |
| --- | --- | --- |
| sourceImage | Image | The image to draw with. |
| rectDestination | RectangleF | The destination rectangle to draw in. |
| graphicsUnit | GraphicsUnit | The graphics unit. |
| imageAttributes | ImageAttributes | The image attributes. |

### Exceptions

| exception | condition |
| --- | --- |
| ArgumentNullException | *sourceImage* is null. |

### See Also

* class [Image](../../image/)
* struct [RectangleF](../../rectanglef/)
* enum [GraphicsUnit](../../graphicsunit/)
* class [ImageAttributes](../../imageattributes/)
* class [Graphics](../)
* namespace [Aspose.Imaging](../../graphics/)
* assembly [Aspose.Imaging](../../../)

---

## DrawImage(Image, Rectangle, Rectangle, GraphicsUnit) {#drawimage_13}

Draws the specified [`Image`](../image/) at the specified location and with the specified size.

```csharp
public void DrawImage(Image sourceImage, Rectangle rectSource, Rectangle rectDestination, 
    GraphicsUnit graphicsUnit)
```

| Parameter | Type | Description |
| --- | --- | --- |
| sourceImage | Image | The image to draw with. |
| rectSource | Rectangle | The rect source. |
| rectDestination | Rectangle | The rect destination. |
| graphicsUnit | GraphicsUnit | The graphics unit. |

### Exceptions

| exception | condition |
| --- | --- |
| ArgumentNullException | *sourceImage* is null. |

### See Also

* class [Image](../../image/)
* struct [Rectangle](../../rectangle/)
* enum [GraphicsUnit](../../graphicsunit/)
* class [Graphics](../)
* namespace [Aspose.Imaging](../../graphics/)
* assembly [Aspose.Imaging](../../../)

---

## DrawImage(Image, RectangleF, RectangleF, GraphicsUnit) {#drawimage_18}

Draws the specified [`Image`](../image/) at the specified location and with the specified size.

```csharp
public void DrawImage(Image sourceImage, RectangleF rectSource, RectangleF rectDestination, 
    GraphicsUnit graphicsUnit)
```

| Parameter | Type | Description |
| --- | --- | --- |
| sourceImage | Image | The image to draw with. |
| rectSource | RectangleF | The rect source. |
| rectDestination | RectangleF | The rect destination. |
| graphicsUnit | GraphicsUnit | The graphics unit. |

### Exceptions

| exception | condition |
| --- | --- |
| ArgumentNullException | *sourceImage* is null. |

### See Also

* class [Image](../../image/)
* struct [RectangleF](../../rectanglef/)
* enum [GraphicsUnit](../../graphicsunit/)
* class [Graphics](../)
* namespace [Aspose.Imaging](../../graphics/)
* assembly [Aspose.Imaging](../../../)

---

## DrawImage(Image, Rectangle, Rectangle, GraphicsUnit, ImageAttributes) {#drawimage_14}

Draws the specified [`Image`](../image/) at the specified location and with the specified size.

```csharp
public void DrawImage(Image sourceImage, Rectangle rectSource, Rectangle rectDestination, 
    GraphicsUnit graphicsUnit, ImageAttributes imageAttributes)
```

| Parameter | Type | Description |
| --- | --- | --- |
| sourceImage | Image | The image to draw with. |
| rectSource | Rectangle | The rect source. |
| rectDestination | Rectangle | The rect destination. |
| graphicsUnit | GraphicsUnit | The graphics unit. |
| imageAttributes | ImageAttributes | The image attributes. |

### Exceptions

| exception | condition |
| --- | --- |
| ArgumentNullException | *sourceImage* is null. |

### See Also

* class [Image](../../image/)
* struct [Rectangle](../../rectangle/)
* enum [GraphicsUnit](../../graphicsunit/)
* class [ImageAttributes](../../imageattributes/)
* class [Graphics](../)
* namespace [Aspose.Imaging](../../graphics/)
* assembly [Aspose.Imaging](../../../)

---

## DrawImage(Image, RectangleF, RectangleF, GraphicsUnit, ImageAttributes) {#drawimage_19}

Draws the specified [`Image`](../image/) at the specified location and with the specified size.

```csharp
public void DrawImage(Image sourceImage, RectangleF rectSource, RectangleF rectDestination, 
    GraphicsUnit graphicsUnit, ImageAttributes imageAttributes)
```

| Parameter | Type | Description |
| --- | --- | --- |
| sourceImage | Image | The image to draw with. |
| rectSource | RectangleF | The source rectangle. |
| rectDestination | RectangleF | The destination rectangle. |
| graphicsUnit | GraphicsUnit | The graphics unit to use. |
| imageAttributes | ImageAttributes | The image attributes to use. |

### Exceptions

| exception | condition |
| --- | --- |
| ArgumentNullException | *sourceImage* is null. |

### See Also

* class [Image](../../image/)
* struct [RectangleF](../../rectanglef/)
* enum [GraphicsUnit](../../graphicsunit/)
* class [ImageAttributes](../../imageattributes/)
* class [Graphics](../)
* namespace [Aspose.Imaging](../../graphics/)
* assembly [Aspose.Imaging](../../../)

---

## DrawImage(Image, Point[]) {#drawimage_6}

Draws the specified portion of the specified *image* at the specified location and with the specified size.

```csharp
public void DrawImage(Image image, Point[] destPoints)
```

| Parameter | Type | Description |
| --- | --- | --- |
| image | Image | The image to draw. |
| destPoints | Point[] | Array of three PointF structures that define a parallelogram. |

### See Also

* class [Image](../../image/)
* struct [Point](../../point/)
* class [Graphics](../)
* namespace [Aspose.Imaging](../../graphics/)
* assembly [Aspose.Imaging](../../../)

---

## DrawImage(Image, Point[], Rectangle) {#drawimage_7}

Draws the specified portion of the specified *image* at the specified location and with the specified size.

```csharp
public void DrawImage(Image image, Point[] destPoints, Rectangle srcRect)
```

| Parameter | Type | Description |
| --- | --- | --- |
| image | Image | The image to draw. |
| destPoints | Point[] | Array of three PointF structures that define a parallelogram. |
| srcRect | Rectangle | The source rectangle. |

### See Also

* class [Image](../../image/)
* struct [Point](../../point/)
* struct [Rectangle](../../rectangle/)
* class [Graphics](../)
* namespace [Aspose.Imaging](../../graphics/)
* assembly [Aspose.Imaging](../../../)

---

## DrawImage(Image, Point[], Rectangle, GraphicsUnit) {#drawimage_8}

Draws the specified portion of the specified *image* at the specified location and with the specified size.

```csharp
public void DrawImage(Image image, Point[] destPoints, Rectangle srcRect, GraphicsUnit srcUnit)
```

| Parameter | Type | Description |
| --- | --- | --- |
| image | Image | The image to draw. |
| destPoints | Point[] | Array of three PointF structures that define a parallelogram. |
| srcRect | Rectangle | The source rectangle. |
| srcUnit | GraphicsUnit | The units of measure. |

### See Also

* class [Image](../../image/)
* struct [Point](../../point/)
* struct [Rectangle](../../rectangle/)
* enum [GraphicsUnit](../../graphicsunit/)
* class [Graphics](../)
* namespace [Aspose.Imaging](../../graphics/)
* assembly [Aspose.Imaging](../../../)

---

## DrawImage(Image, Point[], Rectangle, GraphicsUnit, ImageAttributes) {#drawimage_9}

Draws the specified portion of the specified *image* at the specified location and with the specified size.

```csharp
public void DrawImage(Image image, Point[] destPoints, Rectangle srcRect, GraphicsUnit srcUnit, 
    ImageAttributes imageAttributes)
```

| Parameter | Type | Description |
| --- | --- | --- |
| image | Image | The image to draw. |
| destPoints | Point[] | Array of three PointF structures that define a parallelogram. |
| srcRect | Rectangle | The source rectangle. |
| srcUnit | GraphicsUnit | The units of measure. |
| imageAttributes | ImageAttributes | The image attributes. |

### See Also

* class [Image](../../image/)
* struct [Point](../../point/)
* struct [Rectangle](../../rectangle/)
* enum [GraphicsUnit](../../graphicsunit/)
* class [ImageAttributes](../../imageattributes/)
* class [Graphics](../)
* namespace [Aspose.Imaging](../../graphics/)
* assembly [Aspose.Imaging](../../../)

---

## DrawImage(Image, PointF[]) {#drawimage_2}

Draws the specified portion of the specified *image* at the specified location and with the specified size.

```csharp
public void DrawImage(Image image, PointF[] destPoints)
```

| Parameter | Type | Description |
| --- | --- | --- |
| image | Image | The image to draw. |
| destPoints | PointF[] | Array of three PointF structures that define a parallelogram. |

### Exceptions

| exception | condition |
| --- | --- |
| ArgumentNullException | image |

### See Also

* class [Image](../../image/)
* struct [PointF](../../pointf/)
* class [Graphics](../)
* namespace [Aspose.Imaging](../../graphics/)
* assembly [Aspose.Imaging](../../../)

---

## DrawImage(Image, PointF[], RectangleF) {#drawimage_3}

Draws the specified portion of the specified *image* at the specified location and with the specified size.

```csharp
public void DrawImage(Image image, PointF[] destPoints, RectangleF srcRect)
```

| Parameter | Type | Description |
| --- | --- | --- |
| image | Image | The image to draw. |
| destPoints | PointF[] | Array of three PointF structures that define a parallelogram. |
| srcRect | RectangleF | The source rectangle. |

### See Also

* class [Image](../../image/)
* struct [PointF](../../pointf/)
* struct [RectangleF](../../rectanglef/)
* class [Graphics](../)
* namespace [Aspose.Imaging](../../graphics/)
* assembly [Aspose.Imaging](../../../)

---

## DrawImage(Image, PointF[], RectangleF, GraphicsUnit) {#drawimage_4}

Draws the specified portion of the specified *image* at the specified location and with the specified size.

```csharp
public void DrawImage(Image image, PointF[] destPoints, RectangleF srcRect, GraphicsUnit srcUnit)
```

| Parameter | Type | Description |
| --- | --- | --- |
| image | Image | The image to draw. |
| destPoints | PointF[] | Array of three PointF structures that define a parallelogram. |
| srcRect | RectangleF | The source rectangle. |
| srcUnit | GraphicsUnit | The units of measure. |

### See Also

* class [Image](../../image/)
* struct [PointF](../../pointf/)
* struct [RectangleF](../../rectanglef/)
* enum [GraphicsUnit](../../graphicsunit/)
* class [Graphics](../)
* namespace [Aspose.Imaging](../../graphics/)
* assembly [Aspose.Imaging](../../../)

---

## DrawImage(Image, PointF[], RectangleF, GraphicsUnit, ImageAttributes) {#drawimage_5}

Draws the specified portion of the specified *image* at the specified location and with the specified size.

```csharp
public void DrawImage(Image image, PointF[] destPoints, RectangleF srcRect, GraphicsUnit srcUnit, 
    ImageAttributes imageAttributes)
```

| Parameter | Type | Description |
| --- | --- | --- |
| image | Image | The image to draw. |
| destPoints | PointF[] | Array of three PointF structures that define a parallelogram. |
| srcRect | RectangleF | The source rectangle. |
| srcUnit | GraphicsUnit | The units of measure. |
| imageAttributes | ImageAttributes | The image attributes. |

### See Also

* class [Image](../../image/)
* struct [PointF](../../pointf/)
* struct [RectangleF](../../rectanglef/)
* enum [GraphicsUnit](../../graphicsunit/)
* class [ImageAttributes](../../imageattributes/)
* class [Graphics](../)
* namespace [Aspose.Imaging](../../graphics/)
* assembly [Aspose.Imaging](../../../)

---

## DrawImage(Image, float, float, float, float) {#drawimage_23}

Draws the specified [`Image`](../image/) at the specified location and with the specified size.

```csharp
public void DrawImage(Image sourceImage, float x, float y, float width, float height)
```

| Parameter | Type | Description |
| --- | --- | --- |
| sourceImage | Image | The image to draw with. |
| x | Single | The x-coordinate of the upper-left corner of the drawn image. |
| y | Single | The y-coordinate of the upper-left corner of the drawn image. |
| width | Single | Width of the drawn image. |
| height | Single | Height of the drawn image. |

### Exceptions

| exception | condition |
| --- | --- |
| ArgumentNullException | *sourceImage* is null. |

### See Also

* class [Image](../../image/)
* class [Graphics](../)
* namespace [Aspose.Imaging](../../graphics/)
* assembly [Aspose.Imaging](../../../)

---

## DrawImage(Image, Point) {#drawimage}

Draws the specified [`Image`](../image/), using its original physical size, at the specified location.

```csharp
public void DrawImage(Image sourceImage, Point point)
```

| Parameter | Type | Description |
| --- | --- | --- |
| sourceImage | Image | The image to draw with. |
| point | Point | [`Point`](../../point/) structure that represents the location of the upper-left corner of the drawn image. |

### Exceptions

| exception | condition |
| --- | --- |
| ArgumentNullException | *sourceImage* is null. |

### See Also

* class [Image](../../image/)
* struct [Point](../../point/)
* class [Graphics](../)
* namespace [Aspose.Imaging](../../graphics/)
* assembly [Aspose.Imaging](../../../)


