I’m using Aspose.PDF for .Net (v. 21.1.0) and I’m hoping you can advise me on the following:
My input file (input.pdf, attached) has 2 pages. Please note that it contains page numbers (top center) and date fields (bottom left; “4/19”).
I’m inserting a blank page using the following code:
var document = new Document(“D:/input.pdf”);
My resulting document (output.pdf, attached) has 3 pages, but I also need to update the page numbers and the date fields. Could you please advise on how it can be done?
If this is not available directly, could you please give me more details on the following:
I noticed that the values I need to change are stored in Artifacts for each page. So I suppose I could use them to edit them? However, I can’t see any difference (except the text, obviously) between the artifacts for a page number and a date field. Is there any way to distinguish these? Please note that “2/12” could be both a page number (2 of 12) and a date.