Skip to main content
All docs
V24.2

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.2.dll

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