Skip to main content

Brick.ValidatePageRight(Single, RectangleF) Method

Checks whether the specified brick fits the empty space on the right side of the page and if it doesn’t, moves it (or part of it) to the next page.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v24.2.Core.dll

Declaration

public virtual float ValidatePageRight(
    float pageRight,
    RectangleF rect
)

Parameters

Name Type Description
pageRight Single

A Single value specifying the right edge of the current page.

rect RectangleF

A RectangleF object specifying the suggested new right position of the current page.

Returns

Type Description
Single

A Single value specifying the new location of the empty space on the right side of the page. In an instance where the brick on the page has to be moved to the next page, the new right position of the current page will be returned.

Remarks

This method is intended for internal use only.

See Also