Skip to main content

Brick.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.v24.2.Core.dll

Declaration

public virtual float ValidatePageBottom(
    RectangleF pageBounds,
    bool enforceSplitNonSeparable,
    RectangleF rect,
    IPrintingSystemContext context
)

Parameters

Name Type Description
pageBounds RectangleF

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

enforceSplitNonSeparable Boolean

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

rect RectangleF

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

context IPrintingSystemContext

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

Returns

Type Description
Single

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.

Remarks

This method is intended for internal use only.

See Also