printing "total pages" with PrintDocument object

  • Thread starter Thread starter Twister
  • Start date Start date
T

Twister

hello,

I would like to print report with OnPrintPage event and after that add
footer "Page X of Y" to every page (because then i would know how many
pages there are). How can I do that ?

Regards

Pawel
 
Hello,

Unfortunatelly, you have to count it yourself :) Because you know what
you're going to print, you can measure all graphics elements using GDI+
classes.
 
Back
Top