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

在坐标对指定的位置使用其原始物理尺寸绘制指定图像。

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

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| image | Image | 要绘制的图像。 |
| x | Int32 | 绘制图像左上角的 x 坐标。 |
| y | Int32 | 绘制图像左上角的 y 坐标。 |

### 也可以看看

* class [Image](../../image)
* class [Graphics](../../graphics)
* 命名空间 [System.Drawing](../../graphics)
* 部件 [Aspose.Drawing](../../../)

---

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

绘制指定的Image，在指定位置使用其原始物理尺寸。

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

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| image | Image | Image画。 |
| x | Single | 绘制图像左上角的 x 坐标。 |
| y | Single | 绘制图像左上角的 y 坐标。 |

### 也可以看看

* class [Image](../../image)
* class [Graphics](../../graphics)
* 命名空间 [System.Drawing](../../graphics)
* 部件 [Aspose.Drawing](../../../)

---

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

在指定位置使用其原始物理尺寸绘制指定图像。

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

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| image | Image | 要绘制的图像。 |
| point | Point | 表示绘制图像左上角位置的点结构。 |

### 也可以看看

* class [Image](../../image)
* struct [Point](../../point)
* class [Graphics](../../graphics)
* 命名空间 [System.Drawing](../../graphics)
* 部件 [Aspose.Drawing](../../../)

---

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

绘制指定的Е:Image在指定的位置并具有指定的形状和大小。

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

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| image | Image | Image画。 |
| destPoints | Point[] | 三个数组Point定义平行四边形的结构。 |

### 也可以看看

* class [Image](../../image)
* struct [Point](../../point)
* class [Graphics](../../graphics)
* 命名空间 [System.Drawing](../../graphics)
* 部件 [Aspose.Drawing](../../../)

---

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

绘制指定的Image，在指定位置使用其原始物理尺寸。

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

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| image | Image | Image画。 |
| point | PointF | PointF表示绘制图像的左上角的结构。 |

### 也可以看看

* class [Image](../../image)
* struct [PointF](../../pointf)
* class [Graphics](../../graphics)
* 命名空间 [System.Drawing](../../graphics)
* 部件 [Aspose.Drawing](../../../)

---

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

绘制指定的Image在指定的位置并具有指定的形状和大小。

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

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| image | Image | Image画。 |
| destPoints | PointF[] | 三个数组PointF定义平行四边形的结构。 |

### 也可以看看

* class [Image](../../image)
* struct [PointF](../../pointf)
* class [Graphics](../../graphics)
* 命名空间 [System.Drawing](../../graphics)
* 部件 [Aspose.Drawing](../../../)

---

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

在指定位置以指定大小绘制指定图像。

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

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| image | Image | 要绘制的图像。 |
| x | Int32 | 绘制图像左上角的 x 坐标。 |
| y | Int32 | 绘制图像左上角的 y 坐标。 |
| width | Int32 | 绘制图像的宽度。 |
| height | Int32 | 绘制图像的高度。 |

### 也可以看看

* class [Image](../../image)
* class [Graphics](../../graphics)
* 命名空间 [System.Drawing](../../graphics)
* 部件 [Aspose.Drawing](../../../)

---

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

在指定位置以指定大小绘制指定图像。

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

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| image | Image | 要绘制的图像。 |
| rect | Rectangle | 指定绘制图像的位置和大小的矩形。 |

### 也可以看看

* class [Image](../../image)
* struct [Rectangle](../../rectangle)
* class [Graphics](../../graphics)
* 命名空间 [System.Drawing](../../graphics)
* 部件 [Aspose.Drawing](../../../)

---

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

在指定位置以指定大小绘制指定图像。

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

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| image | Image | 要绘制的图像。 |
| rect | RectangleF | 指定绘制图像的位置和大小的矩形。 |

### 也可以看看

* class [Image](../../image)
* struct [RectangleF](../../rectanglef)
* class [Graphics](../../graphics)
* 命名空间 [System.Drawing](../../graphics)
* 部件 [Aspose.Drawing](../../../)

---

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

绘制指定的Image ，使用其原始物理大小，在指定位置和指定大小。

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

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| image | Image | Image画。 |
| x | Single | 绘制图像左上角的 x 坐标。 |
| y | Single | 绘制图像左上角的 y 坐标。 |
| width | Single | 绘制图像的宽度。 |
| height | Single | 绘制图像的高度。 |

### 也可以看看

* class [Image](../../image)
* class [Graphics](../../graphics)
* 命名空间 [System.Drawing](../../graphics)
* 部件 [Aspose.Drawing](../../../)

---

## DrawImage(Image, int, int, Rectangle, GraphicsUnit) {#drawimage_2}

在指定位置绘制图像的一部分。

```csharp
public void DrawImage(Image image, int x, int y, Rectangle srcRect, GraphicsUnit srcUnit)
```

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| image | Image | Image画。 |
| x | Int32 | 绘制图像左上角的 x 坐标。 |
| y | Int32 | 绘制图像左上角的 y 坐标。 |
| srcRect | Rectangle | Rectangle指定要绘制的图像对象部分的结构。 |
| srcUnit | GraphicsUnit | 成员GraphicsUnit指定 srcRect 参数使用的度量单位的枚举。 |

### 也可以看看

* class [Image](../../image)
* struct [Rectangle](../../rectangle)
* enum [GraphicsUnit](../../graphicsunit)
* class [Graphics](../../graphics)
* 命名空间 [System.Drawing](../../graphics)
* 部件 [Aspose.Drawing](../../../)

---

## DrawImage(Image, float, float, RectangleF, GraphicsUnit) {#drawimage_5}

在指定位置绘制图像的一部分。

```csharp
public void DrawImage(Image image, float x, float y, RectangleF srcRect, GraphicsUnit srcUnit)
```

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| image | Image | Image画。 |
| x | Single | 绘制图像左上角的 x 坐标。 |
| y | Single | 绘制图像左上角的 y 坐标。 |
| srcRect | RectangleF | RectangleF指定要绘制的图像对象部分的结构。 |
| srcUnit | GraphicsUnit | 成员GraphicsUnit指定 srcRect 参数使用的度量单位的枚举。 |

### 也可以看看

* class [Image](../../image)
* struct [RectangleF](../../rectanglef)
* enum [GraphicsUnit](../../graphicsunit)
* class [Graphics](../../graphics)
* 命名空间 [System.Drawing](../../graphics)
* 部件 [Aspose.Drawing](../../../)

---

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

在指定位置以指定大小绘制指定图像的指定部分。

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

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| image | Image | 要绘制的图像。 |
| destPoints | PointF[] | 定义平行四边形的三个 PointF 结构的数组。 |
| srcRect | RectangleF | 指定要绘制的图像对象部分的 RectangleF 结构。 |
| srcUnit | GraphicsUnit | GraphicsUnit 枚举的成员，指定 使用的度量单位*srcRect*范围。 |

### 也可以看看

* class [Image](../../image)
* struct [PointF](../../pointf)
* struct [RectangleF](../../rectanglef)
* enum [GraphicsUnit](../../graphicsunit)
* class [Graphics](../../graphics)
* 命名空间 [System.Drawing](../../graphics)
* 部件 [Aspose.Drawing](../../../)

---

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

绘制指定的指定部分Image在指定的位置和指定的大小。

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

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| image | Image | Image画。 |
| destPoints | Point[] | 三个数组Point定义平行四边形的结构。 |
| srcRect | Rectangle | Rectangle指定要绘制的图像对象部分的结构。 |
| srcUnit | GraphicsUnit | 成员GraphicsUnit枚举指定 使用的度量单位*srcRect*范围。 |

### 也可以看看

* class [Image](../../image)
* struct [Point](../../point)
* struct [Rectangle](../../rectangle)
* enum [GraphicsUnit](../../graphicsunit)
* class [Graphics](../../graphics)
* 命名空间 [System.Drawing](../../graphics)
* 部件 [Aspose.Drawing](../../../)

---

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

绘制指定的指定部分Image在指定的位置和指定的大小。

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

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| image | Image | Image画。 |
| destPoints | Point[] | 三个数组Point定义平行四边形的结构。 |
| srcRect | Rectangle | Rectangle指定要绘制的图像对象部分的结构。 |
| srcUnit | GraphicsUnit | 成员GraphicsUnit枚举指定 使用的度量单位*srcRect*范围。 |
| imageAttr | ImageAttributes | ImageAttributes指定图像对象的重新着色和伽玛信息。 |

### 也可以看看

* class [Image](../../image)
* struct [Point](../../point)
* struct [Rectangle](../../rectangle)
* enum [GraphicsUnit](../../graphicsunit)
* class [ImageAttributes](../../../system.drawing.imaging/imageattributes)
* class [Graphics](../../graphics)
* 命名空间 [System.Drawing](../../graphics)
* 部件 [Aspose.Drawing](../../../)

---

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

在指定位置以指定大小绘制指定图像的指定部分。

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

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| image | Image | 要绘制的图像。 |
| destPoints | PointF[] | 定义平行四边形的三个 PointF 结构的数组。 |
| srcRect | RectangleF | 指定要绘制的图像对象部分的 RectangleF 结构。 |
| srcUnit | GraphicsUnit | GraphicsUnit 枚举的成员，指定 使用的度量单位*srcRect*范围。 |
| imageAttr | ImageAttributes | ImageAttributes 指定图像对象的重新着色和伽玛信息。 |

### 也可以看看

* class [Image](../../image)
* struct [PointF](../../pointf)
* struct [RectangleF](../../rectanglef)
* enum [GraphicsUnit](../../graphicsunit)
* class [ImageAttributes](../../../system.drawing.imaging/imageattributes)
* class [Graphics](../../graphics)
* 命名空间 [System.Drawing](../../graphics)
* 部件 [Aspose.Drawing](../../../)

---

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

在指定位置以指定大小绘制指定图像的指定部分。

```csharp
public void DrawImage(Image image, Rectangle destRect, Rectangle srcRect, GraphicsUnit srcUnit)
```

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| image | Image | 要绘制的图像。 |
| destRect | Rectangle | 指定绘制图像的位置和大小的矩形结构。 缩放图像以适应矩形。 |
| srcRect | Rectangle | 指定要绘制的图像对象部分的矩形结构。 |
| srcUnit | GraphicsUnit | GraphicsUnit 枚举的成员，它指定测量单位使用的*srcRect*范围。 |

### 也可以看看

* class [Image](../../image)
* struct [Rectangle](../../rectangle)
* enum [GraphicsUnit](../../graphicsunit)
* class [Graphics](../../graphics)
* 命名空间 [System.Drawing](../../graphics)
* 部件 [Aspose.Drawing](../../../)

---

## DrawImage(Image, Rectangle, int, int, int, int, GraphicsUnit, ImageAttributes) {#drawimage_16}

在指定位置以指定大小绘制指定图像的指定部分。

```csharp
public void DrawImage(Image image, Rectangle destRect, int srcX, int srcY, int srcWidth, 
    int srcHeight, GraphicsUnit srcUnit, ImageAttributes imageAttr)
```

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| image | Image | 要绘制的图像。 |
| destRect | Rectangle | 指定绘制图像的位置和大小的矩形结构。 缩放图像以适应矩形。 |
| srcX | Int32 | 要绘制的源图像部分左上角的 x 坐标。 |
| srcY | Int32 | 要绘制的源图像部分左上角的 y 坐标。 |
| srcWidth | Int32 | 要绘制的源图像部分的宽度。 |
| srcHeight | Int32 | 要绘制的源图像部分的高度。 |
| srcUnit | GraphicsUnit | GraphicsUnit 枚举的成员，它指定用于确定源矩形的 measure 单位。 |
| imageAttr | ImageAttributes | ImageAttributes 指定图像对象的重新着色和伽玛信息。 |

### 也可以看看

* class [Image](../../image)
* struct [Rectangle](../../rectangle)
* enum [GraphicsUnit](../../graphicsunit)
* class [ImageAttributes](../../../system.drawing.imaging/imageattributes)
* class [Graphics](../../graphics)
* 命名空间 [System.Drawing](../../graphics)
* 部件 [Aspose.Drawing](../../../)

---

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

在指定位置以指定大小绘制指定图像的指定部分。

```csharp
public void DrawImage(Image image, RectangleF destRect, RectangleF srcRect, GraphicsUnit srcUnit)
```

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| image | Image | 要绘制的图像。 |
| destRect | RectangleF | RectangleF 结构，指定绘制图像的位置和大小。 图像被缩放以适合矩形。 |
| srcRect | RectangleF | 指定要绘制的图像对象部分的 RectangleF 结构。 |
| srcUnit | GraphicsUnit | GraphicsUnit 枚举的成员，它指定测量单位使用的*srcRect*范围。 |

### 也可以看看

* class [Image](../../image)
* struct [RectangleF](../../rectanglef)
* enum [GraphicsUnit](../../graphicsunit)
* class [Graphics](../../graphics)
* 命名空间 [System.Drawing](../../graphics)
* 部件 [Aspose.Drawing](../../../)

---

## DrawImage(Image, Rectangle, int, int, int, int, GraphicsUnit) {#drawimage_15}

绘制指定的指定部分Image在指定的位置和指定的大小。

```csharp
public void DrawImage(Image image, Rectangle destRect, int srcX, int srcY, int srcWidth, 
    int srcHeight, GraphicsUnit srcUnit)
```

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| image | Image | Image画。 |
| destRect | Rectangle | Rectangle指定绘制图像的位置和大小的结构。图像被缩放以适合矩形。 |
| srcX | Int32 | 要绘制的源图像部分左上角的 x 坐标。 |
| srcY | Int32 | 要绘制的源图像部分左上角的 y 坐标。 |
| srcWidth | Int32 | 要绘制的源图像部分的宽度。 |
| srcHeight | Int32 | 要绘制的源图像部分的高度 |
| srcUnit | GraphicsUnit | 成员GraphicsUnit枚举，指定用于确定源矩形的度量单位。 |

### 也可以看看

* class [Image](../../image)
* struct [Rectangle](../../rectangle)
* enum [GraphicsUnit](../../graphicsunit)
* class [Graphics](../../graphics)
* 命名空间 [System.Drawing](../../graphics)
* 部件 [Aspose.Drawing](../../../)

---

## DrawImage(Image, Rectangle, float, float, float, float, GraphicsUnit) {#drawimage_17}

绘制指定的指定部分Image在指定的位置和指定的大小。

```csharp
public void DrawImage(Image image, Rectangle destRect, float srcX, float srcY, float srcWidth, 
    float srcHeight, GraphicsUnit srcUnit)
```

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| image | Image | Image画。 |
| destRect | Rectangle | Rectangle指定绘制图像的位置和大小的结构。图像被缩放以适合矩形。 |
| srcX | Single | 要绘制的源图像部分左上角的 x 坐标。 |
| srcY | Single | 要绘制的源图像部分左上角的 y 坐标。 |
| srcWidth | Single | 要绘制的源图像部分的宽度。 |
| srcHeight | Single | 要绘制的源图像部分的高度 |
| srcUnit | GraphicsUnit | 成员GraphicsUnit枚举，指定用于确定源矩形的度量单位。 |

### 也可以看看

* class [Image](../../image)
* struct [Rectangle](../../rectangle)
* enum [GraphicsUnit](../../graphicsunit)
* class [Graphics](../../graphics)
* 命名空间 [System.Drawing](../../graphics)
* 部件 [Aspose.Drawing](../../../)

---

## DrawImage(Image, Rectangle, float, float, float, float, GraphicsUnit, ImageAttributes) {#drawimage_18}

绘制指定的指定部分Image在指定的位置和指定的大小。

```csharp
public void DrawImage(Image image, Rectangle destRect, float srcX, float srcY, float srcWidth, 
    float srcHeight, GraphicsUnit srcUnit, ImageAttributes imageAttrs)
```

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| image | Image | Image画。 |
| destRect | Rectangle | Rectangle指定绘制图像的位置和大小的结构。图像被缩放以适合矩形。 |
| srcX | Single | 要绘制的源图像部分左上角的 x 坐标。 |
| srcY | Single | 要绘制的源图像部分左上角的 y 坐标。 |
| srcWidth | Single | 要绘制的源图像部分的宽度。 |
| srcHeight | Single | 要绘制的源图像部分的高度 |
| srcUnit | GraphicsUnit | 成员GraphicsUnit枚举，指定用于确定源矩形的度量单位。 |
| imageAttrs | ImageAttributes | ImageAttributes指定图像对象的重新着色和伽玛信息。 |

### 也可以看看

* class [Image](../../image)
* struct [Rectangle](../../rectangle)
* enum [GraphicsUnit](../../graphicsunit)
* class [ImageAttributes](../../../system.drawing.imaging/imageattributes)
* class [Graphics](../../graphics)
* 命名空间 [System.Drawing](../../graphics)
* 部件 [Aspose.Drawing](../../../)

<!-- DO NOT EDIT: generated by xmldocmd for Aspose.Drawing.dll -->
