Skip to main content
Participant
August 29, 2024
Question

How to Create PDF dynamically from an ASP.NET page

  • August 29, 2024
  • 2 replies
  • 471 views

Hi

I have an intranet for my commpany.

On one of those pages, I need to create a button, that takes the content and creates a PDF.

1) Am I allowed to create a PDF on the fly using C# code? Like maybe either create a totally new one... or create a copy of an existing template and then start dynamically filling it out with content from my database?

2) Which product do I use? I have used Acrobat SDK toolkit in the past but it did allow me to put this on a webpage on a server but only allowed local computer usage.

3) Or do I have to use 3rd party tools?

4) Any samples or examples of code? Is it the same code or have there been huge changes?

Steps:-

i) Create a copy of an existing PDF

ii) Create frames, labels, text boxes & multi line text boxes

iii) Fill those labels, texts, multi lines with data from database

iv) Save the PDF and store it or email it to an email id

This topic has been closed for replies.

2 replies

JR Boulay
Community Expert
Community Expert
August 30, 2024

[MOVED TO THE ACROBAT SDK DISCUSSIONS]

Acrobate du PDF, InDesigner et Photoshopographe
try67
Community Expert
Community Expert
August 29, 2024

You can't use Acrobat (or the Acrobat SDK) on a server. You'll have to look for some other solution.