Insert Page Numbers into Printed Documents

<< Click to Display Table of Contents >>

Navigation:  User Interface Reference > Print Preview > Headers and Footers >

Insert Page Numbers into Printed Documents

Interface Elements for Desktop > Print Preview > Print Preview for WinForms > Insert Page Numbers into Printed Documents

To insert or remove page numbers from a document, first invoke the Header and Footer dialog.

Focus a text box, depending on the required alignment, and do one of the following:

If you need to simply display the current page number, click the Page Number img7270 button.

If you need to display the page number out of the total number of pages, click the Page # of Pages # img7271 button.

When you click one of these buttons, the dialog adds an alias within square brackets at the current cursor position. You can surround this alias with any text you like. If you no longer need page numbers in your document, delete this alias.

Click OK to save changes and close the dialog.

Copyright (c) 1998-2016 Developer Express Inc. All rights reserved.

Send Feedback on this topic to DevExpress.