DrawImage
DrawImage(Image, PointF)
绘制指定的Image,在指定位置使用其原始物理尺寸。
public void DrawImage(Image sourceImage, PointF point)
| 范围 | 类型 | 描述 |
|---|
| sourceImage | Image | 要绘制的图像。 |
| point | PointF | PointF表示绘制图像的左上角的结构。 |
例外
| 例外 | (健康)状况 |
|---|
| ArgumentNullException | sourceImage一片空白。 |
也可以看看
DrawImage(Image, float, float)
绘制指定的Image,在指定位置使用其原始物理尺寸。
public void DrawImage(Image sourceImage, float x, float y)
| 范围 | 类型 | 描述 |
|---|
| sourceImage | Image | 要绘制的图像。 |
| x | Single | 绘制图像左上角的 x 坐标。 |
| y | Single | 绘制图像左上角的 y 坐标。 |
例外
| 例外 | (健康)状况 |
|---|
| ArgumentNullException | sourceImage一片空白。 |
也可以看看
DrawImage(Image, RectangleF)
绘制指定的Image在指定的位置和指定的大小。
public void DrawImage(Image sourceImage, RectangleF rect)
| 范围 | 类型 | 描述 |
|---|
| sourceImage | Image | 要绘制的图像。 |
| rect | RectangleF | RectangleF指定绘制图像的位置和大小的结构。 |
例外
| 例外 | (健康)状况 |
|---|
| ArgumentNullException | sourceImage一片空白。 |
也可以看看
DrawImage(Image, Rectangle, GraphicsUnit)
绘制指定的Image在指定的位置和指定的大小。
public void DrawImage(Image sourceImage, Rectangle rectDestination, GraphicsUnit graphicsUnit)
| 范围 | 类型 | 描述 |
|---|
| sourceImage | Image | 要绘制的图像。 |
| rectDestination | Rectangle | 目标矩形。 |
| graphicsUnit | GraphicsUnit | 图形单元。 |
例外
| 例外 | (健康)状况 |
|---|
| ArgumentNullException | sourceImage一片空白。 |
也可以看看
DrawImage(Image, RectangleF, GraphicsUnit)
绘制指定的Image在指定的位置和指定的大小。
public void DrawImage(Image sourceImage, RectangleF rectDestination, GraphicsUnit graphicsUnit)
| 范围 | 类型 | 描述 |
|---|
| sourceImage | Image | 要绘制的图像。 |
| rectDestination | RectangleF | 目标矩形。 |
| graphicsUnit | GraphicsUnit | 图形单元。 |
例外
| 例外 | (健康)状况 |
|---|
| ArgumentNullException | sourceImage一片空白。 |
也可以看看
DrawImage(Image, Rectangle, GraphicsUnit, ImageAttributes)
绘制指定的Image在指定的位置和指定的大小。
public void DrawImage(Image sourceImage, Rectangle rectDestination, GraphicsUnit graphicsUnit,
ImageAttributes imageAttributes)
| 范围 | 类型 | 描述 |
|---|
| sourceImage | Image | 要绘制的图像。 |
| rectDestination | Rectangle | 目标矩形。 |
| graphicsUnit | GraphicsUnit | 图形单元。 |
| imageAttributes | ImageAttributes | 图像属性。 |
例外
| 例外 | (健康)状况 |
|---|
| ArgumentNullException | sourceImage一片空白。 |
也可以看看
DrawImage(Image, RectangleF, GraphicsUnit, ImageAttributes)
绘制指定的Image在指定的位置和指定的大小。
public void DrawImage(Image sourceImage, RectangleF rectDestination, GraphicsUnit graphicsUnit,
ImageAttributes imageAttributes)
| 范围 | 类型 | 描述 |
|---|
| sourceImage | Image | 要绘制的图像。 |
| rectDestination | RectangleF | 要绘制的目标矩形。 |
| graphicsUnit | GraphicsUnit | 图形单元。 |
| imageAttributes | ImageAttributes | 图像属性。 |
例外
| 例外 | (健康)状况 |
|---|
| ArgumentNullException | sourceImage一片空白。 |
也可以看看
DrawImage(Image, Rectangle, Rectangle, GraphicsUnit)
绘制指定的Image在指定的位置和指定的大小。
public void DrawImage(Image sourceImage, Rectangle rectSource, Rectangle rectDestination,
GraphicsUnit graphicsUnit)
| 范围 | 类型 | 描述 |
|---|
| sourceImage | Image | 要绘制的图像。 |
| rectSource | Rectangle | 矩形源。 |
| rectDestination | Rectangle | 矩形目的地。 |
| graphicsUnit | GraphicsUnit | 图形单元。 |
例外
| 例外 | (健康)状况 |
|---|
| ArgumentNullException | sourceImage一片空白。 |
也可以看看
DrawImage(Image, RectangleF, RectangleF, GraphicsUnit)
绘制指定的Image在指定的位置和指定的大小。
public void DrawImage(Image sourceImage, RectangleF rectSource, RectangleF rectDestination,
GraphicsUnit graphicsUnit)
| 范围 | 类型 | 描述 |
|---|
| sourceImage | Image | 要绘制的图像。 |
| rectSource | RectangleF | 矩形源。 |
| rectDestination | RectangleF | 矩形目的地。 |
| graphicsUnit | GraphicsUnit | 图形单元。 |
例外
| 例外 | (健康)状况 |
|---|
| ArgumentNullException | sourceImage一片空白。 |
也可以看看
DrawImage(Image, Rectangle, Rectangle, GraphicsUnit, ImageAttributes)
绘制指定的Image在指定的位置和指定的大小。
public void DrawImage(Image sourceImage, Rectangle rectSource, Rectangle rectDestination,
GraphicsUnit graphicsUnit, ImageAttributes imageAttributes)
| 范围 | 类型 | 描述 |
|---|
| sourceImage | Image | 要绘制的图像。 |
| rectSource | Rectangle | 矩形源。 |
| rectDestination | Rectangle | 矩形目的地。 |
| graphicsUnit | GraphicsUnit | 图形单元。 |
| imageAttributes | ImageAttributes | 图像属性。 |
例外
| 例外 | (健康)状况 |
|---|
| ArgumentNullException | sourceImage一片空白。 |
也可以看看
DrawImage(Image, RectangleF, RectangleF, GraphicsUnit, ImageAttributes)
绘制指定的Image在指定的位置和指定的大小。
public void DrawImage(Image sourceImage, RectangleF rectSource, RectangleF rectDestination,
GraphicsUnit graphicsUnit, ImageAttributes imageAttributes)
| 范围 | 类型 | 描述 |
|---|
| sourceImage | Image | 要绘制的图像。 |
| rectSource | RectangleF | 源矩形。 |
| rectDestination | RectangleF | 目标矩形。 |
| graphicsUnit | GraphicsUnit | 要使用的图形单元。 |
| imageAttributes | ImageAttributes | 要使用的图像属性。 |
例外
| 例外 | (健康)状况 |
|---|
| ArgumentNullException | sourceImage一片空白。 |
也可以看看
DrawImage(Image, Point[])
绘制指定的指定部分image在指定的位置和指定的大小。
public void DrawImage(Image image, Point[] destPoints)
| 范围 | 类型 | 描述 |
|---|
| image | Image | 要绘制的图像。 |
| destPoints | Point[] | 定义平行四边形的三个 PointF 结构的数组。 |
也可以看看
DrawImage(Image, Point[], Rectangle)
绘制指定的指定部分image在指定的位置和指定的大小。
public void DrawImage(Image image, Point[] destPoints, Rectangle srcRect)
| 范围 | 类型 | 描述 |
|---|
| image | Image | 要绘制的图像。 |
| destPoints | Point[] | 定义平行四边形的三个 PointF 结构的数组。 |
| srcRect | Rectangle | 源矩形。 |
也可以看看
DrawImage(Image, Point[], Rectangle, GraphicsUnit)
绘制指定的指定部分image在指定的位置和指定的大小。
public void DrawImage(Image image, Point[] destPoints, Rectangle srcRect, GraphicsUnit srcUnit)
| 范围 | 类型 | 描述 |
|---|
| image | Image | 要绘制的图像。 |
| destPoints | Point[] | 定义平行四边形的三个 PointF 结构的数组。 |
| srcRect | Rectangle | 源矩形。 |
| srcUnit | GraphicsUnit | 计量单位。 |
也可以看看
DrawImage(Image, Point[], Rectangle, GraphicsUnit, ImageAttributes)
绘制指定的指定部分image在指定的位置和指定的大小。
public void DrawImage(Image image, Point[] destPoints, Rectangle srcRect, GraphicsUnit srcUnit,
ImageAttributes imageAttributes)
| 范围 | 类型 | 描述 |
|---|
| image | Image | 要绘制的图像。 |
| destPoints | Point[] | 定义平行四边形的三个 PointF 结构的数组。 |
| srcRect | Rectangle | 源矩形。 |
| srcUnit | GraphicsUnit | 计量单位。 |
| imageAttributes | ImageAttributes | 图像属性。 |
也可以看看
DrawImage(Image, PointF[])
绘制指定的指定部分image在指定的位置和指定的大小。
public void DrawImage(Image image, PointF[] destPoints)
| 范围 | 类型 | 描述 |
|---|
| image | Image | 要绘制的图像。 |
| destPoints | PointF[] | 定义平行四边形的三个 PointF 结构的数组。 |
例外
| 例外 | (健康)状况 |
|---|
| ArgumentNullException | 图片 |
也可以看看
DrawImage(Image, PointF[], RectangleF)
绘制指定的指定部分image在指定的位置和指定的大小。
public void DrawImage(Image image, PointF[] destPoints, RectangleF srcRect)
| 范围 | 类型 | 描述 |
|---|
| image | Image | 要绘制的图像。 |
| destPoints | PointF[] | 定义平行四边形的三个 PointF 结构的数组。 |
| srcRect | RectangleF | 源矩形。 |
也可以看看
DrawImage(Image, PointF[], RectangleF, GraphicsUnit)
绘制指定的指定部分image在指定的位置和指定的大小。
public void DrawImage(Image image, PointF[] destPoints, RectangleF srcRect, GraphicsUnit srcUnit)
| 范围 | 类型 | 描述 |
|---|
| image | Image | 要绘制的图像。 |
| destPoints | PointF[] | 定义平行四边形的三个 PointF 结构的数组。 |
| srcRect | RectangleF | 源矩形。 |
| srcUnit | GraphicsUnit | 计量单位。 |
也可以看看
DrawImage(Image, PointF[], RectangleF, GraphicsUnit, ImageAttributes)
绘制指定的指定部分image在指定的位置和指定的大小。
public void DrawImage(Image image, PointF[] destPoints, RectangleF srcRect, GraphicsUnit srcUnit,
ImageAttributes imageAttributes)
| 范围 | 类型 | 描述 |
|---|
| image | Image | 要绘制的图像。 |
| destPoints | PointF[] | 定义平行四边形的三个 PointF 结构的数组。 |
| srcRect | RectangleF | 源矩形。 |
| srcUnit | GraphicsUnit | 计量单位。 |
| imageAttributes | ImageAttributes | 图像属性。 |
也可以看看
DrawImage(Image, float, float, float, float)
绘制指定的Image在指定的位置和指定的大小。
public void DrawImage(Image sourceImage, float x, float y, float width, float height)
| 范围 | 类型 | 描述 |
|---|
| sourceImage | Image | 要绘制的图像。 |
| x | Single | 绘制图像左上角的 x 坐标。 |
| y | Single | 绘制图像左上角的 y 坐标。 |
| width | Single | 绘制图像的宽度。 |
| height | Single | 绘制图像的高度。 |
例外
| 例外 | (健康)状况 |
|---|
| ArgumentNullException | sourceImage一片空白。 |
也可以看看
DrawImage(Image, Point)
绘制指定的Image,在指定位置使用其原始物理尺寸。
public void DrawImage(Image sourceImage, Point point)
| 范围 | 类型 | 描述 |
|---|
| sourceImage | Image | 要绘制的图像。 |
| point | Point | Point表示绘制图像左上角位置的结构。 |
例外
| 例外 | (健康)状况 |
|---|
| ArgumentNullException | sourceImage一片空白。 |
也可以看看
DrawImage(Image, int, int)
在坐标对指定的位置使用其原始物理尺寸绘制指定图像。
public void DrawImage(Image sourceImage, int x, int y)
| 范围 | 类型 | 描述 |
|---|
| sourceImage | Image | 要绘制的图像。 |
| x | Int32 | 绘制图像左上角的 x 坐标。 |
| y | Int32 | 绘制图像左上角的 y 坐标。 |
例外
| 例外 | (健康)状况 |
|---|
| ArgumentNullException | sourceImage一片空白。 |
也可以看看
DrawImage(Image, Rectangle)
绘制指定的Image在指定的位置和指定的大小。
public void DrawImage(Image sourceImage, Rectangle rect)
| 范围 | 类型 | 描述 |
|---|
| sourceImage | Image | 要绘制的图像。 |
| rect | Rectangle | Rectangle指定绘制图像的位置和大小的结构。 |
例外
| 例外 | (健康)状况 |
|---|
| ArgumentNullException | sourceImage一片空白。 |
也可以看看
DrawImage(Image, int, int, int, int)
绘制指定的Image在指定的位置和指定的大小。
public void DrawImage(Image sourceImage, int x, int y, int width, int height)
| 范围 | 类型 | 描述 |
|---|
| sourceImage | Image | 要绘制的图像。 |
| x | Int32 | 绘制图像左上角的 x 坐标。 |
| y | Int32 | 绘制图像左上角的 y 坐标。 |
| width | Int32 | 绘制图像的宽度。 |
| height | Int32 | 绘制图像的高度。 |
例外
| 例外 | (健康)状况 |
|---|
| ArgumentNullException | sourceImage一片空白。 |
也可以看看