WebPlanner Programmer's Guide

GraphicsEx.DrawImage Method

See Also
 


The DrawImage methods are used to draw an image at a specified position. Some of the overloads let you specify a color key and a size to which the image is stretched.

 Overload List

Name Description

GraphicsEx.DrawImage (Image, Int32, Int32)

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

GraphicsEx.DrawImage (Image, Int32, Int32, Color)

Draws an image at the specified location using the specified color key, keeping the original size of the image intact.

GraphicsEx.DrawImage (Image, Point)

Draws an image using its original size at the specified location.

GraphicsEx.DrawImage (Image, Point, Color)

Draws an image using its original size at the specified location, using the specified color key.

GraphicsEx.DrawImage (Image, Rectangle, Rectangle)

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

GraphicsEx.DrawImage (Image, Rectangle, Rectangle, Color)

Draws a portion of an image at the specified location with the specified size, using the specified color key.

 See Also