Printing page x of y in .Net

Posted by maxfridbe on Stack Overflow See other posts from Stack Overflow or by maxfridbe
Published on 2010-05-11T22:55:33Z Indexed on 2010/05/11 23:04 UTC
Read the original article Hit count: 260

Filed under:
|

If I have a very large document to print and on each page of the document it needs to say "page x of y" Is there a way I could precalculate y without having to printing twice as offered as a solution here: http://bytes.com/topic/c-sharp/answers/862133-c-printing-page-count

I'm trying to avoid printing once, getting they y and then setting it, then printing again.

© Stack Overflow or respective owner

Related posts about c#

Related posts about printing