Skip to main content
All docs
V23.2

BrickGraphics.DrawImage(DXImage, RectangleF, BorderSide, Color) Method

Adds a specific ImageBrick brick to a report.

Namespace: DevExpress.XtraPrinting

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

NuGet Package: DevExpress.Printing.Core

Declaration

public ImageBrick DrawImage(
    DXImage image,
    RectangleF rect,
    BorderSide sides,
    Color backColor
)

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.

sides BorderSide

Border settings for a specific ImageBrick.

backColor Color

The color to be displayed in the transparent image.

Returns

Type Description
ImageBrick

The ImageBrick added to a report.

See Also