Back to Devexpress

PrintControl.GetBrickScreenBounds(Brick, Page) Method

windowsforms-devexpress-dot-xtraprinting-dot-control-dot-printcontrol-dot-getbrickscreenbounds-x28-devexpress-dot-xtraprinting-dot-brick-devexpress-dot-xtraprinting-dot-page-x29.md

latest2.2 KB
Original Source

PrintControl.GetBrickScreenBounds(Brick, Page) Method

Returns the location and size of the specified brick.

Namespace : DevExpress.XtraPrinting.Control

Assembly : DevExpress.XtraPrinting.v25.2.dll

NuGet Package : DevExpress.Win.Printing

Declaration

csharp
public Rectangle GetBrickScreenBounds(
    Brick brick,
    Page page
)
vb
Public Function GetBrickScreenBounds(
    brick As Brick,
    page As Page
) As Rectangle

Parameters

NameTypeDescription
brickBrick

A Brick object, specifying the brick to be located.

| | page | Page |

A Page object, specifying the page at which the brick is located.

|

Returns

TypeDescription
Rectangle

A Rectangle structure, specifying the brick’s location and size.

|

Remarks

When the brick or page parameters are null or the specified brick is not displayed on the screen by the moment of calling the GetBrickScreenBounds method, the GetBrickScreenBounds method returns Empty.

See Also

PrintControl Class

PrintControl Members

DevExpress.XtraPrinting.Control Namespace