Page 1 of 1

PrintPreview.TotalPages

PostPosted: March 27th, 2009, 1:21 pm
by bswift
Hello,

First off let me say this.....your PrintPreview component is a true blessing to me. It works great!!! However, I am stumped as to how to get the total pages count so I can add the "Page 1 of 3" and so forth at the bottom of the pages. I have tried about everything I can think off. Any help would be much appreciated.

b

Re: PrintPreview.TotalPages

PostPosted: March 27th, 2009, 1:42 pm
by Kambiz
You have two options:

  1. Pre-calculate total pages before printing.
  2. Edit pages after print to include page numbers.

Re: PrintPreview.TotalPages

PostPosted: March 27th, 2009, 1:45 pm
by bswift
Hello,

When you say print....do you mean before it renders to the canvas???

Re: PrintPreview.TotalPages

PostPosted: March 27th, 2009, 6:11 pm
by bswift
Hello,

OKay...got it figured out......thanks for your help.

b