Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

How to detect that the new page is being created and obtain the current page number within the BeforePrint event handler

$
0
0

Note: This example uses undocumented behavior of the XtraReports Suite, so we cannot guarantee that it will work correctly in the XtraReports Suite.

This example illustrates how to detect that a new page is being created and obtain the current page number within the BeforePrint event handler via the PrintingSystem.Document.PageCount property. Note that in this scenario, you should set the DetailBand.KeepTogether property to true.

Another (and more universal) approach to this task is demonstrated at E1952.

See also: AS16487.

Example Comments

Added By: Tobias Lachmann at: 2/8/2013 8:30:54 AM    

Ist it possible to get that work in 12.2?


Viewing all articles
Browse latest Browse all 7205

Trending Articles