Skip to main content

PrintControl.FindBrick(Point) Method

Returns a brick occupying the document area where a point with the specified coordinates is located.

Namespace: DevExpress.XtraPrinting.Control

Assembly: DevExpress.XtraPrinting.v23.2.dll

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

Declaration

public Brick FindBrick(
    Point screenPoint
)

Parameters

Name Type Description
screenPoint Point

A Point structure, specifying the coordinates of a point corresponding to a brick’s location.

Returns

Type Description
Brick

A Brick object, corresponding to a brick located at the specified coordinates.

Remarks

This method returns null if no brick is found at the specified location.

See Also