## PrintPreview.TotalPages

Please post bug reports, feature requests, or any question regarding the DELPHI AREA projects here.

### PrintPreview.TotalPages

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
bswift
Member

Posts: 4
Joined: March 26th, 2009, 9:38 pm

### Re: PrintPreview.TotalPages

You have two options:

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

Kambiz

Posts: 2428
Joined: March 7th, 2003, 7:10 pm

### Re: PrintPreview.TotalPages

Hello,

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

Posts: 4
Joined: March 26th, 2009, 9:38 pm

### Re: PrintPreview.TotalPages

Hello,

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

b
bswift
Member

Posts: 4
Joined: March 26th, 2009, 9:38 pm