Hi,
I have several Word documents (templates) and I merge them together into one pdf document using aspose. The problem is, each template should have separate page numbers and then restart again.
I set RestartPageNumbering to “true” however, it only half worked.
The templates need to be numbered as “Page x of y”. When I set the RestartPageNumbering to “true” it works for the first part(so for x). The thing is, the last number (of y) is still the number of the total amound of pages in the whole pdf document.
Say I had 2 documents - one has three pages one has two. The page numbering goes as follows:
Page 1 of 5
Page 2 of 5
Page 3 of 5
Page 1 of 5
Page 2 of 5
Do you know how I could get it to do:
Page 1 of 3
Page 2 of 3
Page 3 of 3
Page 1 of 2
Page 2 of 2
?
Kind regards!