Visual Basic .NET Tutorial 47 – iTextSharp : How to create PDF file in VB.NET

Tutorials on creating PDF files using VB:NET
Create PDF Files on fly in VB:NET sample code
creating pdf file in VB:NET
create pdf file from – MSDN – Microsoft‎
How to create PDF file on C# or may be you know some
creating a pdf file with Visual Basic .NET – MSDN – Microsoft‎
Create Simple PDF File using Visual Basic .NET
How to create PDF file in Visual Basic .NET .Net Open Source PDF Libraries in C#
Creating pdf files at runtime in Visual Basic .NET
.NET PDF Component – Create Convert PDF Files in Visual Basic .NET
Searches related to create pdf file c# create doc file c# create pdf file java create html c# c# itextsharp create pdf create pdf c# using itextsharp itextsharp tutorial c# itextsharp text to pdf


A. Kürşat ÖZCAN says:

Thank you so much. This one was a great tutorial.

gvinodv says:

fantastic tutorial

Sridharan Neelakandan says:

thanks a ton.. really gave basic idea how to create pdf… 

you’re just owsme bro.. thanks again..!!!

James Lawrence says:

Kudos – Excellent presentation. Well thought out, and the addition of visual tracking the commentary is supurb

Yashovardhan Chaturvedi says:

Do you have any video where screen is visible.I find all of these out of focus

Meowing_Bird says:

Good tutorial, but you could have explained this in 3 minutes..

Dean Vidafar says:

Hate it when they make tutorials on shitty slow ass computers. My laptop is instantaneous

ProgrammingKnowledge says:
Brenditha Ochoa says:

hi you can  help me  print a Datagridview  in pdf  please!!

Ucant_Stop Me says:

bro how can i convert the receipt to pdf file?

Abdalla Nizar says:

Hi thanks for your nice tutorial, can I request for a tutorial for Splitting a PDF file based on Barcode recognition?

Me Nyuam Hmoob Toj Siab says:

Thanks ProgrammingKnowledge

Dojazdowka says:

What if I use ??
Imports System.Drawing

And it gives me error

‘Rectangle’ is ambiguous, imported from the namespaces or types ‘System.Drawing, iTextSharp.text’

Ok I have solved
When I user (Dim xxx As New Rectangle()) I have to use (Dim xxx As New System.Drawing.Rectangle())

Adrián Correa says:

Thank you so much. – Hyper-clear tutorial!

Leandro Galdino says:

good job!!!

Thomas Mebane says:

Can you do a video on how to use Visual Basic and iTextSharp to fill out a PDF with form fields?  I found a page online that has a write up on how to do it but I can’t seem to get it to work.  I don’t know if I’m doing something wrong or if it’s that the write up is using Visual Basic 2005 and I’m using 2010.

Daniel Gutierrez Montaño says:

Muchas gracias. !!!!

OUSSA Mohamed says:

thanks for the tutorial : this is the code :
Imports iTextSharp.text.pdf
Imports iTextSharp.text
Imports System.IO

Private Sub Rapport_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Rapport.Click
Dim pdfDoc As New Document()
Dim pdfWrite As PdfWriter = PdfWriter.GetInstance(pdfDoc, New FileStream(“Rapport.pdf”, FileMode.Create))
pdfDoc.Add(New Paragraph(” Salamo Alaykom”))
pdfDoc.Add(New Paragraph(” Salamo Alaykom 2″))
End Sub


Hi ProgrammingKnowlwdge, thank very much. I have a quastion:  i have a PDF file,  for example A3 paper size, and i want put inside it two Pdf in A4 paper size to create a printable newspaper .Where i find a document that explain how i can use all possible command inside the dll library itextsharp. Example to change paper size PDF file (A4-A3-Tabloyd etc). How can I change the coordinates of the images to move them in the paper?…there are manual for these libraries dll….thank very much :)

إلــى القمـــة - To the top says:

Thank you bro

Zz Lorreta says:

Try the add editable text box to pdf directly and easily with high quality on rasteredge page

Schröer Tech says:

Very helpful, thanks a lot.

ProgrammingKnowledge says:
Jon O'Neill says:

Are there any more recent examples of this? Surely it’s easier than this these days… All that extracting at the start should be managed within VB surely?

Samuel Claiborne says:

Thanks for this. Saved me a lot of time.

ProgrammingKnowledge says:

Write a comment


Human Verification: In order to verify that you are a human and not a spam bot, please enter the answer into the following box below based on the instructions contained in the graphic.

Do you like our videos?
Do you want to see more like that?

Please click below to support us on Facebook!

Send this to a friend

▷ Other ReviewsVehicles   Show Cars   Motorbikes   Scooters   Bicycles   Rims & Tires   Luxury BoatsFashion   Sunglasses   Luxury Watches   Luxury Purses   Jeans Wear   High Heels   Kinis Swimwear   Perfumes   Jewellery   Cosmetics   Shaving Helpers   Fashion Hats   Modeling TipsFooding   Chef Club   Fooding Helpers   Coktails & LiquorsSports   Sport Shoes   Fitness & Detox   Golf Gear   Racquets   Hiking & Trek Gear   Diving Equipment   Ski Gear   Snowboards   Surf Boards   Rollers & SkatesEntertainment   DIY Guides   Zik Instruments   Published Books   Music Albums   Cine Movies   Trading Helpers   Make Money   Fishing Equipment   Paintball Supplies   Trading Card Games   Telescopes   Knives   Vapes   GameplaysHigh Tech   Flat Screens   Tech Devices   Camera Lenses   Audio HiFi   Printers   USB Devices   PC Hardware   Network Gear   Cloud Servers   Software Helpers   Programmer Helpers   Mobile Apps   Hearing AidsHome   Home Furniture   Home Appliances   Tools Workshop   Beddings   Floor Layings   Barbecues   Aquarium Gear   Safe Boxes   Office Supplies   Security Locks   Cleaning ProductsKids   Baby Strollers   Child Car Seats   Remote ControlledTravel   Luggages & Bags   Airlines Seats   Hotel Rooms   Fun Trips   Cruise Ships   Mexico Tours