Skip to content

IGraphicsContext.DrawImage method (1 of 3)

Draws an image at the specified location.

public void DrawImage(IImage image, Point location)

IGraphicsContext.DrawImage method (2 of 3)

Section titled “IGraphicsContext.DrawImage method (2 of 3)”

Draws the whole image stretched to the specified bounds.

public void DrawImage(IImage image, Rect destRect)

IGraphicsContext.DrawImage method (3 of 3)

Section titled “IGraphicsContext.DrawImage method (3 of 3)”

Draws a portion of an image to the specified destination.

public void DrawImage(IImage image, Rect destRect, Rect sourceRect)