UserVisualBrick.ValidatePageBottom(RectangleF, Boolean, RectangleF, IPrintingSystemContext) Method

For internal use. Checks whether the specified brick fits the empty space on the bottom of the page, and if it doesn't, moves it (or part of it) to the next page.

Namespace: DevExpress.XtraPrinting

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


public override float ValidatePageBottom(
    RectangleF pageBounds,
    bool enforceSplitNonSeparable,
    RectangleF rect,
    IPrintingSystemContext context
Public Overrides Function ValidatePageBottom(
    pageBounds As RectangleF,
    enforceSplitNonSeparable As Boolean,
    rect As RectangleF,
    context As IPrintingSystemContext
) As Single


Name Type Description
pageBounds RectangleF

A RectangleF object value specifying the bottom of the current page.

enforceSplitNonSeparable Boolean

true to forcibly split non-separable bricks; otherwise, false.

rect RectangleF

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

context IPrintingSystemContext

A DevExpress.XtraPrinting.IPrintingSystemContext interface, used to access page settings.


Type Description

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


This method is intended for internal use only.

See Also