VisualBrick.ValidatePageRight(Single, RectangleF) Method
In This Article
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
NuGet Package: DevExpress.Printing.Core
#Declaration
public override float ValidatePageRight(
float pageRight,
RectangleF rect
)
#Parameters
Name | Type | Description |
---|---|---|
page |
Single | A Single value specifying the right edge of the current page. |
rect | Rectangle |
A Rectangle |
#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