Skip to main content

PageInfoTextBrick(BorderSide, Single, Color, Color, Color) Constructor

Initializes a new instance of the PageInfoTextBrick class with the specified visible borders, their width, color, and background and foreground colors.

Namespace: DevExpress.XtraPrinting

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

NuGet Package: DevExpress.Printing.Core

Declaration

public PageInfoTextBrick(
    BorderSide sides,
    float borderWidth,
    Color borderColor,
    Color backColor,
    Color foreColor
)

Parameters

Name Type Description
sides BorderSide

A BorderSide enumeration value(s) which specifies the borders displayed around the brick.

borderWidth Single

A Single value which specifies the border width of the brick, measured in pixels.

borderColor Color

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

backColor Color

A Color object which specifies the background color of the brick.

foreColor Color

A Color object which specifies the foreground color of the brick.

Remarks

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

To create a PageInfoTextBrick 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