[iTextSharp] How to create a PDF with iTextSharp?

[iTextSharp] How to create a PDF with iTextSharp?

  
Forge Component
(12)
Published on 2015-09-10 by Luis Filipe Oliveira
12 votes
Published on 2015-09-10 by Luis Filipe Oliveira

Hi guys, do you have a sample of how to create a PDF? I saw that it expects two properties: binary data and password, but I didn't found what they represent and in what format should I set the input params.

Thanks, Leo

Hi Leonard,


This component is not for PDF creation. The main purpose seems to be PDF manipulation like merge, extract pages, count pages, etc.


The binary data is the content of the PDF file being manipulated. The password is used if the PDF is password protected.


The available actions are:

Leonard Abu-Saa wrote:

Hi guys, do you have a sample of how to create a PDF? I saw that it expects two properties: binary data and password, but I didn't found what they represent and in what format should I set the input params.

Thanks, Leo