Skip to main content

PageImageBrick(BorderSide, Single, Color, Color) Constructor

Initializes a new instance of the PageImageBrick class.

Namespace: DevExpress.XtraPrinting

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

NuGet Package: DevExpress.Printing.Core

Declaration

public PageImageBrick(
    BorderSide sides,
    float borderWidth,
    Color borderColor,
    Color backColor
)

Parameters

Name Type Description
sides BorderSide

A BorderSide enumeration value which specifies the borders displayed around the PageImageBrick.

borderWidth Single

A float value which specifies the border width of the PageImageBrick, measured in pixels.

borderColor Color

A Color object which specifies the border color of the PageImageBrick.

backColor Color

A Color object which specifies the background color of the current PageImageBrick.

Remarks

Use this constructor to create a new instance of the PageImageBrick class with the ability to specify the borders displayed around the brick, the color and width of the borders and the background color of the brick.

To create a PageImageBrick with default settings you should use this constructor without parameters.

After a brick is created it can, for example, be drawn via the BrickGraphics.DrawBrick method.

See Also