Skip to main content
All docs
V24.2

BrickGraphics.DrawImage(DXImage, RectangleF) Method

Adds a specific ImageBrick brick to a report.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v24.2.Core.dll

NuGet Package: DevExpress.Printing.Core

#Declaration

public ImageBrick DrawImage(
    DXImage image,
    RectangleF rect
)

#Parameters

Name Type Description
image DXImage

The image to draw within a specific brick.

rect RectangleF

The RectangleF structure that specifies the location and size of the current brick in measurement units, specified via the BrickGraphics.PageUnit property value.

#Returns

Type Description
ImageBrick

The ImageBrick added to a report.

See Also