Skip to main content
All docs
V24.1

DXGraphics.DrawImage(DXImage, RectangleF, RectangleF) Method

Draws a portion of the image so that it fits into the specified rectnangle.

Namespace: DevExpress.Drawing

Assembly: DevExpress.Drawing.v24.1.dll

NuGet Package: DevExpress.Drawing

Declaration

public void DrawImage(
    DXImage image,
    RectangleF destRect,
    RectangleF srcRect
)

Parameters

Name Type Description
image DXImage

An image to draw.

destRect RectangleF

The image size and location.

srcRect RectangleF

The portion of the image to draw.

See Also