Skip to main content
All docs
V25.1
  • DXGraphics.DrawImage(DXImage, RectangleF) Method

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

    Namespace: DevExpress.Drawing

    Assembly: DevExpress.Drawing.v25.1.dll

    NuGet Package: DevExpress.Drawing

    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