C# Tutorial 42: iTextSharp : How to create PDF file in C#



Tutorials on creating PDF files using C#.

★★★Top Online Courses From ProgrammingKnowledge ★★★
Python Programming Course ➡️ ⚫️
Java Programming Course ➡️ ⚫️
Bash Shell Scripting Course ➡️ ⚫️
Linux Command Line Tutorials ➡️ ⚫️
C Programming Course ➡️

, , , , ,

29 thoughts on “C# Tutorial 42: iTextSharp : How to create PDF file in C#

  1. I am already using – pictureBox1.Image =   Image.FromFile(ScanPicture);And now I get this error – Error 1 'Image' is an ambiguous reference between 'System.Drawing.Image' and 'iTextSharp.text.Image' What can I do here ?

  2. //For anyone who wanted to know how to implement fonts, check my code here
    iTextSharp.text.Font font = new iTextSharp.text.Font(iTextSharp.text.Font.FontFamily.TIMES_ROMAN, 50.0f, iTextSharp.text.Font.UNDERLINE, BaseColor.RED);
    Paragraph title = new Paragraph(str:textBoxTitle.Text, font:font);

Leave a Reply

Your email address will not be published. Required fields are marked *