Skip to main content

PrintControl.GetBrickScreenBounds(Brick, Page) Method

Returns the location and size of the specified brick.

Namespace: DevExpress.XtraPrinting.Control

Assembly: DevExpress.XtraPrinting.v23.2.dll

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.Printing

Declaration

public Rectangle GetBrickScreenBounds(
    Brick brick,
    Page page
)

Parameters

Name Type Description
brick Brick

A Brick object, specifying the brick to be located.

page Page

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

Returns

Type Description
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