PrintInfo Reference > PrintInfo Properties > PreviewPageOf Property (PrintInfo) |
The PreviewPageOf property sets or returns a string that controls how page number information is displayed in the PrintPreview window.
PrintInfo.PreviewPageOf= string
Read/Write at run time and design time.
If specified, the string may contain two special substrings:
\p |
Current page (just as in the page header/footer). |
\P |
Total number of pages. |
Note
If the user presses Abort while print preview pages are being rendered, the "\P" substring is evaluated as "\P?".