Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
Previous Versions
.NET Framework 2.0
System.Drawing
Graphics Class
Graphics Methods
DrawImage Method
This page is specific to
Microsoft Visual Studio 2005/.NET Framework 2.0

Other versions are also available for the following:
Graphics.DrawImage Method
Draws the specified Image at the specified location and with the original size.
Name Description
Graphics.DrawImage (Image, Point) Draws the specified Image, using its original physical size, at the specified location.
Graphics.DrawImage (Image, Point[]) Draws the specified Image at the specified location and with the specified shape and size.
Graphics.DrawImage (Image, PointF) Draws the specified Image, using its original physical size, at the specified location.
Graphics.DrawImage (Image, PointF[]) Draws the specified Image at the specified location and with the specified shape and size.
Graphics.DrawImage (Image, Rectangle) Draws the specified Image at the specified location and with the specified size.
Graphics.DrawImage (Image, RectangleF) Draws the specified Image at the specified location and with the specified size.
Graphics.DrawImage (Image, Int32, Int32) Draws the specified image, using its original physical size, at the location specified by a coordinate pair.

Supported by the .NET Compact Framework.

Graphics.DrawImage (Image, Single, Single) Draws the specified Image, using its original physical size, at the specified location.
Graphics.DrawImage (Image, Point[], Rectangle, GraphicsUnit) Draws the specified portion of the specified Image at the specified location and with the specified size.
Graphics.DrawImage (Image, PointF[], RectangleF, GraphicsUnit) Draws the specified portion of the specified Image at the specified location and with the specified size.
Graphics.DrawImage (Image, Rectangle, Rectangle, GraphicsUnit) Draws the specified portion of the specified Image at the specified location and with the specified size.

Supported by the .NET Compact Framework.

Graphics.DrawImage (Image, RectangleF, RectangleF, GraphicsUnit) Draws the specified portion of the specified Image at the specified location and with the specified size.
Graphics.DrawImage (Image, Int32, Int32, Int32, Int32) Draws the specified Image at the specified location and with the specified size.
Graphics.DrawImage (Image, Int32, Int32, Rectangle, GraphicsUnit) Draws a portion of an image at a specified location.

Supported by the .NET Compact Framework.

Graphics.DrawImage (Image, Point[], Rectangle, GraphicsUnit, ImageAttributes) Draws the specified portion of the specified Image at the specified location.
Graphics.DrawImage (Image, PointF[], RectangleF, GraphicsUnit, ImageAttributes) Draws the specified portion of the specified Image at the specified location and with the specified size.
Graphics.DrawImage (Image, Single, Single, RectangleF, GraphicsUnit) Draws a portion of an image at a specified location.
Graphics.DrawImage (Image, Single, Single, Single, Single) Draws the specified Image at the specified location and with the specified size.
Graphics.DrawImage (Image, Point[], Rectangle, GraphicsUnit, ImageAttributes, Graphics.DrawImageAbort) Draws the specified portion of the specified Image at the specified location and with the specified size.
Graphics.DrawImage (Image, PointF[], RectangleF, GraphicsUnit, ImageAttributes, Graphics.DrawImageAbort) Draws the specified portion of the specified Image at the specified location and with the specified size.
Graphics.DrawImage (Image, Point[], Rectangle, GraphicsUnit, ImageAttributes, Graphics.DrawImageAbort, Int32) Draws the specified portion of the specified Image at the specified location and with the specified size.
Graphics.DrawImage (Image, PointF[], RectangleF, GraphicsUnit, ImageAttributes, Graphics.DrawImageAbort, Int32) Draws the specified portion of the specified Image at the specified location and with the specified size.
Graphics.DrawImage (Image, Rectangle, Int32, Int32, Int32, Int32, GraphicsUnit) Draws the specified portion of the specified Image at the specified location and with the specified size.
Graphics.DrawImage (Image, Rectangle, Single, Single, Single, Single, GraphicsUnit) Draws the specified portion of the specified Image at the specified location and with the specified size.
Graphics.DrawImage (Image, Rectangle, Int32, Int32, Int32, Int32, GraphicsUnit, ImageAttributes) Draws the specified portion of the specified Image at the specified location and with the specified size.

Supported by the .NET Compact Framework.

Graphics.DrawImage (Image, Rectangle, Single, Single, Single, Single, GraphicsUnit, ImageAttributes) Draws the specified portion of the specified Image at the specified location and with the specified size.
Graphics.DrawImage (Image, Rectangle, Int32, Int32, Int32, Int32, GraphicsUnit, ImageAttributes, Graphics.DrawImageAbort) Draws the specified portion of the specified Image at the specified location and with the specified size.
Graphics.DrawImage (Image, Rectangle, Single, Single, Single, Single, GraphicsUnit, ImageAttributes, Graphics.DrawImageAbort) Draws the specified portion of the specified Image at the specified location and with the specified size.
Graphics.DrawImage (Image, Rectangle, Int32, Int32, Int32, Int32, GraphicsUnit, ImageAttributes, Graphics.DrawImageAbort, IntPtr) Draws the specified portion of the specified Image at the specified location and with the specified size.
Graphics.DrawImage (Image, Rectangle, Single, Single, Single, Single, GraphicsUnit, ImageAttributes, Graphics.DrawImageAbort, IntPtr) Draws the specified portion of the specified Image at the specified location and with the specified size.
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker