Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

How to reset page numbering on a specific page

$
0
0

This example illustrates how to reset page numbering (in the document header) on a specific page. To achieve this goal, add a new Section to a document and set its PageNumbering.Start property (see SectionPageNumbering.Start) to 1. Note that page numbering is setup by creating a PAGE field in the document header. The entire document is generated programmatically.

Question Comments

Added By: Elmar Fuchs at: 9/9/2012 7:12:36 AM    

This sample doesn't work for me. I create an empty form, drag & drop the RichEdit control (v2012 vol 1.6) then copy these codes into the Form_Load event handling.

The result is I have 2 pages and in the header I have "Page 1" for page 1 and "Page 2" for page 2.
If I understood this sample correctly, the two pages has the same header "Page 1".

Have I done something wrong?

Thanks!

Added By: Oleg (DevExpress Support) at: 1/26/2016 6:29:25 AM    

Hello Elmar,
To process your recent post more efficiently, I created a separate ticket on your behalf: T338589: How to correctly reset page numbering in the RichEditControl document. This ticket is currently in our processing queue. Our team will address it as soon as we have any updates.


Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>