Skip to main content

GraphicsCache.DrawImage(Image, Int32, Int32) Method

Draws the specified Image with its original physical size, at the location specified by a coordinate pair.

Namespace: DevExpress.Utils.Drawing

Assembly: DevExpress.Utils.v23.2.dll

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

Declaration

public void DrawImage(
    Image image,
    int x,
    int y
)

Parameters

Name Type Description
image Image

An Image to draw.

x Int32

An Int32 value that is the x-coordinate of the image upper-left corner.

y Int32

An Int32 value that is the y-coordinate of the image upper-left corner.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the DrawImage(Image, Int32, Int32) 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