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.v20.1.dll

Declaration

public Brick FindBrickBy(
    Point screenPoint,
    ref Page page,
    ref RectangleF brickBounds
)
Public Function FindBrickBy(
    screenPoint As Point,
    ByRef page As Page,
    ByRef brickBounds As RectangleF
) As Brick

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