Hello all,
I’m looking for a way to add page numbers to a PDF file.
I know that there was a package developed in the marketplace for the older automations (Add Page Numbers to Existing PDF - RPA Component | UiPath Marketplace | Overview ) but that one isn’t compatible with a new Windows or Cross-Platform project.
Does anyone have a good method for adding page numbers these days?
Thank you!
dw
Anil_G
(Anil Gorthi)
September 18, 2024, 2:26pm
2
@davidmwhtie
you can use itext7 and use invoke code
here is a starter help
itext, itext7
cheers
Thank you Anil!
I was heading down the iText path but kept running into issues with how to make it work with the restrictions on the invoke code activity. I’ll keep digging though. Thank you for the link to samples!
dw
1 Like
Anil_G
(Anil Gorthi)
September 18, 2024, 3:01pm
4
@davidmwhtie
may be you can tell what errors are you facing and we can try resolve
also make sure class, import or using are not supported in invoke code generally
cheers