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.FindBrickBy(Point, ref Page, ref RectangleF) Method

Returns a brick corresponding to the specified location and size.

Namespace: DevExpress.XtraPrinting.Control

Assembly: DevExpress.XtraPrinting.v24.2.dll

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