Skip to main content

PrintControl.FindBrickBy(Point, ref Page, ref RectangleF) Method

Returns a brick corresponding to the specified location and size.

Namespace: DevExpress.XtraPrinting.Control

Assembly: DevExpress.XtraPrinting.v23.2.dll

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

Declaration

public Brick FindBrickBy(
    Point screenPoint,
    ref Page page,
    ref RectangleF brickBounds
)

Parameters

Name Type Description
screenPoint Point

A Point structure, specifying the coordinates of a point contained within the area occupied by the brick.

page Page

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

brickBounds RectangleF

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

Returns

Type Description
Brick

A Brick object.

See Also