DrawImage
DrawImage(Image, PointF)
Ritar det angivnaImage , med sin ursprungliga fysiska storlek, på den angivna platsen.
public void DrawImage(Image sourceImage, PointF point)
| Parameter | Typ | Beskrivning |
|---|
| sourceImage | Image | Bilden att rita med. |
| point | PointF | PointF struktur som representerar det övre vänstra hörnet av den ritade bilden. |
Undantag
| undantag | skick |
|---|
| ArgumentNullException | sourceImage är inget. |
Se även
DrawImage(Image, float, float)
Ritar det angivnaImage , med sin ursprungliga fysiska storlek, på den angivna platsen.
public void DrawImage(Image sourceImage, float x, float y)
| Parameter | Typ | Beskrivning |
|---|
| sourceImage | Image | Bilden att rita med. |
| x | Single | X-koordinaten för det övre vänstra hörnet av den ritade bilden. |
| y | Single | Y-koordinaten för det övre vänstra hörnet av den ritade bilden. |
Undantag
| undantag | skick |
|---|
| ArgumentNullException | sourceImage är inget. |
Se även
DrawImage(Image, RectangleF)
Ritar det angivnaImage på angiven plats och med angiven storlek.
public void DrawImage(Image sourceImage, RectangleF rect)
| Parameter | Typ | Beskrivning |
|---|
| sourceImage | Image | Bilden att rita med. |
| rect | RectangleF | RectangleF struktur som anger platsen och storleken på den ritade bilden. |
Undantag
| undantag | skick |
|---|
| ArgumentNullException | sourceImage är inget. |
Se även
DrawImage(Image, Rectangle, GraphicsUnit)
Ritar det angivnaImage på angiven plats och med angiven storlek.
public void DrawImage(Image sourceImage, Rectangle rectDestination, GraphicsUnit graphicsUnit)
| Parameter | Typ | Beskrivning |
|---|
| sourceImage | Image | Bilden att rita med. |
| rectDestination | Rectangle | Destinationsrektangeln. |
| graphicsUnit | GraphicsUnit | Den grafiska enheten. |
Undantag
| undantag | skick |
|---|
| ArgumentNullException | sourceImage är inget. |
Se även
DrawImage(Image, RectangleF, GraphicsUnit)
Ritar det angivnaImage på angiven plats och med angiven storlek.
public void DrawImage(Image sourceImage, RectangleF rectDestination, GraphicsUnit graphicsUnit)
| Parameter | Typ | Beskrivning |
|---|
| sourceImage | Image | Bilden att rita med. |
| rectDestination | RectangleF | Destinationsrektangeln. |
| graphicsUnit | GraphicsUnit | Den grafiska enheten. |
Undantag
| undantag | skick |
|---|
| ArgumentNullException | sourceImage är inget. |
Se även
DrawImage(Image, Rectangle, GraphicsUnit, ImageAttributes)
Ritar det angivnaImage på angiven plats och med angiven storlek.
public void DrawImage(Image sourceImage, Rectangle rectDestination, GraphicsUnit graphicsUnit,
ImageAttributes imageAttributes)
| Parameter | Typ | Beskrivning |
|---|
| sourceImage | Image | Bilden att rita med. |
| rectDestination | Rectangle | Destinationsrektangeln. |
| graphicsUnit | GraphicsUnit | Den grafiska enheten. |
| imageAttributes | ImageAttributes | Bildens attribut. |
Undantag
| undantag | skick |
|---|
| ArgumentNullException | sourceImage är inget. |
Se även
DrawImage(Image, RectangleF, GraphicsUnit, ImageAttributes)
Ritar det angivnaImage på angiven plats och med angiven storlek.
public void DrawImage(Image sourceImage, RectangleF rectDestination, GraphicsUnit graphicsUnit,
ImageAttributes imageAttributes)
| Parameter | Typ | Beskrivning |
|---|
| sourceImage | Image | Bilden att rita med. |
| rectDestination | RectangleF | Destinationsrektangeln att rita i. |
| graphicsUnit | GraphicsUnit | Den grafiska enheten. |
| imageAttributes | ImageAttributes | Bildens attribut. |
Undantag
| undantag | skick |
|---|
| ArgumentNullException | sourceImage är inget. |
Se även
DrawImage(Image, Rectangle, Rectangle, GraphicsUnit)
Ritar det angivnaImage på angiven plats och med angiven storlek.
public void DrawImage(Image sourceImage, Rectangle rectSource, Rectangle rectDestination,
GraphicsUnit graphicsUnit)
| Parameter | Typ | Beskrivning |
|---|
| sourceImage | Image | Bilden att rita med. |
| rectSource | Rectangle | Den korrekta källan. |
| rectDestination | Rectangle | Den rätta destinationen. |
| graphicsUnit | GraphicsUnit | Den grafiska enheten. |
Undantag
| undantag | skick |
|---|
| ArgumentNullException | sourceImage är inget. |
Se även
DrawImage(Image, RectangleF, RectangleF, GraphicsUnit)
Ritar det angivnaImage på angiven plats och med angiven storlek.
public void DrawImage(Image sourceImage, RectangleF rectSource, RectangleF rectDestination,
GraphicsUnit graphicsUnit)
| Parameter | Typ | Beskrivning |
|---|
| sourceImage | Image | Bilden att rita med. |
| rectSource | RectangleF | Den korrekta källan. |
| rectDestination | RectangleF | Den rätta destinationen. |
| graphicsUnit | GraphicsUnit | Den grafiska enheten. |
Undantag
| undantag | skick |
|---|
| ArgumentNullException | sourceImage är inget. |
Se även
DrawImage(Image, Rectangle, Rectangle, GraphicsUnit, ImageAttributes)
Ritar det angivnaImage på angiven plats och med angiven storlek.
public void DrawImage(Image sourceImage, Rectangle rectSource, Rectangle rectDestination,
GraphicsUnit graphicsUnit, ImageAttributes imageAttributes)
| Parameter | Typ | Beskrivning |
|---|
| sourceImage | Image | Bilden att rita med. |
| rectSource | Rectangle | Den korrekta källan. |
| rectDestination | Rectangle | Den rätta destinationen. |
| graphicsUnit | GraphicsUnit | Den grafiska enheten. |
| imageAttributes | ImageAttributes | Bildens attribut. |
Undantag
| undantag | skick |
|---|
| ArgumentNullException | sourceImage är inget. |
Se även
DrawImage(Image, RectangleF, RectangleF, GraphicsUnit, ImageAttributes)
Ritar det angivnaImage på angiven plats och med angiven storlek.
public void DrawImage(Image sourceImage, RectangleF rectSource, RectangleF rectDestination,
GraphicsUnit graphicsUnit, ImageAttributes imageAttributes)
| Parameter | Typ | Beskrivning |
|---|
| sourceImage | Image | Bilden att rita med. |
| rectSource | RectangleF | Källrektangeln. |
| rectDestination | RectangleF | Destinationsrektangeln. |
| graphicsUnit | GraphicsUnit | Grafikenheten att använda. |
| imageAttributes | ImageAttributes | Bildattributen som ska användas. |
Undantag
| undantag | skick |
|---|
| ArgumentNullException | sourceImage är inget. |
Se även
DrawImage(Image, Point[])
Ritar den angivna delen av den angivnaimage på angiven plats och med angiven storlek.
public void DrawImage(Image image, Point[] destPoints)
| Parameter | Typ | Beskrivning |
|---|
| image | Image | Bilden att rita. |
| destPoints | Point[] | Array av tre PointF-strukturer som definierar ett parallellogram. |
Se även
DrawImage(Image, Point[], Rectangle)
Ritar den angivna delen av den angivnaimage på angiven plats och med angiven storlek.
public void DrawImage(Image image, Point[] destPoints, Rectangle srcRect)
| Parameter | Typ | Beskrivning |
|---|
| image | Image | Bilden att rita. |
| destPoints | Point[] | Array av tre PointF-strukturer som definierar ett parallellogram. |
| srcRect | Rectangle | Källrektangeln. |
Se även
DrawImage(Image, Point[], Rectangle, GraphicsUnit)
Ritar den angivna delen av den angivnaimage på angiven plats och med angiven storlek.
public void DrawImage(Image image, Point[] destPoints, Rectangle srcRect, GraphicsUnit srcUnit)
| Parameter | Typ | Beskrivning |
|---|
| image | Image | Bilden att rita. |
| destPoints | Point[] | Array av tre PointF-strukturer som definierar ett parallellogram. |
| srcRect | Rectangle | Källrektangeln. |
| srcUnit | GraphicsUnit | Måttenheterna. |
Se även
DrawImage(Image, Point[], Rectangle, GraphicsUnit, ImageAttributes)
Ritar den angivna delen av den angivnaimage på angiven plats och med angiven storlek.
public void DrawImage(Image image, Point[] destPoints, Rectangle srcRect, GraphicsUnit srcUnit,
ImageAttributes imageAttributes)
| Parameter | Typ | Beskrivning |
|---|
| image | Image | Bilden att rita. |
| destPoints | Point[] | Array av tre PointF-strukturer som definierar ett parallellogram. |
| srcRect | Rectangle | Källrektangeln. |
| srcUnit | GraphicsUnit | Måttenheterna. |
| imageAttributes | ImageAttributes | Bildens attribut. |
Se även
DrawImage(Image, PointF[])
Ritar den angivna delen av den angivnaimage på angiven plats och med angiven storlek.
public void DrawImage(Image image, PointF[] destPoints)
| Parameter | Typ | Beskrivning |
|---|
| image | Image | Bilden att rita. |
| destPoints | PointF[] | Array av tre PointF-strukturer som definierar ett parallellogram. |
Undantag
| undantag | skick |
|---|
| ArgumentNullException | bild |
Se även
DrawImage(Image, PointF[], RectangleF)
Ritar den angivna delen av den angivnaimage på angiven plats och med angiven storlek.
public void DrawImage(Image image, PointF[] destPoints, RectangleF srcRect)
| Parameter | Typ | Beskrivning |
|---|
| image | Image | Bilden att rita. |
| destPoints | PointF[] | Array av tre PointF-strukturer som definierar ett parallellogram. |
| srcRect | RectangleF | Källrektangeln. |
Se även
DrawImage(Image, PointF[], RectangleF, GraphicsUnit)
Ritar den angivna delen av den angivnaimage på angiven plats och med angiven storlek.
public void DrawImage(Image image, PointF[] destPoints, RectangleF srcRect, GraphicsUnit srcUnit)
| Parameter | Typ | Beskrivning |
|---|
| image | Image | Bilden att rita. |
| destPoints | PointF[] | Array av tre PointF-strukturer som definierar ett parallellogram. |
| srcRect | RectangleF | Källrektangeln. |
| srcUnit | GraphicsUnit | Måttenheterna. |
Se även
DrawImage(Image, PointF[], RectangleF, GraphicsUnit, ImageAttributes)
Ritar den angivna delen av den angivnaimage på angiven plats och med angiven storlek.
public void DrawImage(Image image, PointF[] destPoints, RectangleF srcRect, GraphicsUnit srcUnit,
ImageAttributes imageAttributes)
| Parameter | Typ | Beskrivning |
|---|
| image | Image | Bilden att rita. |
| destPoints | PointF[] | Array av tre PointF-strukturer som definierar ett parallellogram. |
| srcRect | RectangleF | Källrektangeln. |
| srcUnit | GraphicsUnit | Måttenheterna. |
| imageAttributes | ImageAttributes | Bildens attribut. |
Se även
DrawImage(Image, float, float, float, float)
Ritar det angivnaImage på angiven plats och med angiven storlek.
public void DrawImage(Image sourceImage, float x, float y, float width, float height)
| Parameter | Typ | Beskrivning |
|---|
| sourceImage | Image | Bilden att rita med. |
| x | Single | X-koordinaten för det övre vänstra hörnet av den ritade bilden. |
| y | Single | Y-koordinaten för det övre vänstra hörnet av den ritade bilden. |
| width | Single | Bredden på den ritade bilden. |
| height | Single | Höjd på den ritade bilden. |
Undantag
| undantag | skick |
|---|
| ArgumentNullException | sourceImage är inget. |
Se även
DrawImage(Image, Point)
Ritar det angivnaImage , med sin ursprungliga fysiska storlek, på den angivna platsen.
public void DrawImage(Image sourceImage, Point point)
| Parameter | Typ | Beskrivning |
|---|
| sourceImage | Image | Bilden att rita med. |
| point | Point | Point struktur som representerar platsen för det övre vänstra hörnet av den ritade bilden. |
Undantag
| undantag | skick |
|---|
| ArgumentNullException | sourceImage är inget. |
Se även
DrawImage(Image, int, int)
Ritar den angivna bilden, med dess ursprungliga fysiska storlek, på den plats som anges av ett koordinatpar.
public void DrawImage(Image sourceImage, int x, int y)
| Parameter | Typ | Beskrivning |
|---|
| sourceImage | Image | Bilden att rita med. |
| x | Int32 | X-koordinaten för det övre vänstra hörnet av den ritade bilden. |
| y | Int32 | Y-koordinaten för det övre vänstra hörnet av den ritade bilden. |
Undantag
| undantag | skick |
|---|
| ArgumentNullException | sourceImage är inget. |
Se även
DrawImage(Image, Rectangle)
Ritar det angivnaImage på angiven plats och med angiven storlek.
public void DrawImage(Image sourceImage, Rectangle rect)
| Parameter | Typ | Beskrivning |
|---|
| sourceImage | Image | Bilden att rita med. |
| rect | Rectangle | Rectangle struktur som anger platsen och storleken på den ritade bilden. |
Undantag
| undantag | skick |
|---|
| ArgumentNullException | sourceImage är inget. |
Se även
DrawImage(Image, int, int, int, int)
Ritar det angivnaImage på angiven plats och med angiven storlek.
public void DrawImage(Image sourceImage, int x, int y, int width, int height)
| Parameter | Typ | Beskrivning |
|---|
| sourceImage | Image | Bilden att rita med. |
| x | Int32 | X-koordinaten för det övre vänstra hörnet av den ritade bilden. |
| y | Int32 | Y-koordinaten för det övre vänstra hörnet av den ritade bilden. |
| width | Int32 | Bredden på den ritade bilden. |
| height | Int32 | Höjd på den ritade bilden. |
Undantag
| undantag | skick |
|---|
| ArgumentNullException | sourceImage är inget. |
Se även