PrintControl.GetBrickScreenBounds(Brick, Page) Method

Returns the location and size of the specified brick.

Namespace: DevExpress.XtraPrinting.Control

Assembly: DevExpress.XtraPrinting.v20.1.dll

Declaration

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

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