Click here to Skip to main content
15,791,675 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:

I have few PDF files which is available in a Grid. There is a hyperlink on each Row so that it can be downloaded by the users. Before download I need to write some auto-generated numeric document ids (which i had generated at run-time) to the PDF file at top left corner of the first page only and then after the final PDF file will needs to be available to the user.

Do you have any idea how this can be done? If there is any third party control is required then i will prefer for the open source solutions first.

What I have tried:

I had seen few members had suggeted to use Itextsharp, i had tried it but unable to get final objective.
Updated 10-Apr-18 3:49am
Richard MacCutchan 10-Apr-18 11:43am    
iTextSharp is the best library for what you are trying to do.
Ajay_Saini 10-Apr-18 12:05pm    
Do you have any example of that?
Richard MacCutchan 10-Apr-18 12:13pm    
No, but I bet Google does.
Ajay_Saini 10-Apr-18 12:49pm    
My assumption is that iTextsharp is open source, is it correct? I checked in Google and it looks like it is.
Richard MacCutchan 10-Apr-18 13:32pm    
Go to the iTextSharp website on SourceForge, where you will find all the information you need.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900