Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

PrintControl.GetBrickScreenBounds(Brick, Page) Method

Returns the location and size of the specified brick.

Namespace: DevExpress.XtraPrinting.Control

Assembly: DevExpress.XtraPrinting.v24.2.dll

NuGet Package: 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