3
Answers

Printing: how to draw ALL pages count on each page?

hcfalan

hcfalan

20y
1.8k
1
When I print or printview the document, I want to draw the current page count and the count of ALL pages on each page. In order that I override OnPrintPage of PrintDocument, and use a counter data member to caculate the current page count. but before all pages printed, I cann't get the all pages count information, how can I do?

Answers (3)