Skip to main content
All docs
V24.2

DXGraphics.DrawImage(DXImage, RectangleF) Method

Draws an image so that it fits into the specified rectnagle.

Namespace: DevExpress.Drawing

Assembly: DevExpress.Drawing.v24.2.dll

Declaration

public void DrawImage(
    DXImage image,
    RectangleF rect
)

Parameters

Name Type Description
image DXImage

An image to draw.

rect RectangleF

Specifies the location and size of the drawn image.

The following code snippets (auto-collected from DevExpress Examples) contain references to the DrawImage(DXImage, RectangleF) 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