Skip to main content

GraphicsCache.DrawImage(Image, Rectangle) Method

Draws the specified Image at the specified location and with the specified size.

Namespace: DevExpress.Utils.Drawing

Assembly: DevExpress.Utils.v23.2.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

Declaration

public void DrawImage(
    Image image,
    Rectangle rect
)

Parameters

Name Type Description
image Image

An Image to draw.

rect Rectangle

A Rectangle structure that specifies the image location and size.

The following code snippets (auto-collected from DevExpress Examples) contain references to the DrawImage(Image, Rectangle) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also