I am new in C# and i have a problem for displaying text on PDF. Let me describe my problem. I am creating a PDF document which has multiple pages. I need to add text at the bottom of the third PDF page. So, how can i add and display text at absolute position on PDF file? Can anyone please do me a favor and give me more information.
Thank you in advance for your time.
This article on XsPDF.com is what you looking for, check out: Add text to PDF in C#.
Answers
How about using a text frame? You may put the text on specific page and have an absolute position.
I did not find out how to set the absolute position, and I found out that a text frame only has top and left properties. Do you have a sample code for this? I have no clear on how can i use text frame. Does it really work?
Why not use XsPDF library? By using it, you can fully control on everything for PDF text editing including displaying text at absolute position on specific page of PDF document. No external software is required.
After integration its library to your c# project, you can easily insert text content to PDF for application development. It is easy to format the text as paragraph, head, list or underline sentence. Moreover, text font, size, color and position can all be modified. For sample code, please directly click the guide page link above.
Amazing! I have recommended it to most of my friends. Thank you so much for your reply.