Posts Tagged ‘iTextSharp’
iTextSharp Tables
PDF Tables in iTextSharp work enough like HTML tables that the slight differences between the two make programming tables for a PDF a bit confusing the first time you try.
I hope to describe some of those differences here so that your experience might be a bit smoother than mine was as you start to use tables in your PDF code.
Other Related Items:
Youth Water Ski Wakeboard Life Jacket Vest Neoprene NylonThis is a step up from our Youth Universal Life Jacket and you will see why. This is a premium neo-nylon Youth Jacket designed for performance and com... Read More >
Body Glove Women's Neoprene PFD USCG Life VestWhy give up fashion while be safe when this US Coast Guard approved PFD life vest satisfies both? Pick up this fantastic bargain today and Just in time for boating season! Sizing: Small = 30"-33" Medium = 33"-36" Large = 36"-39" XL = 39"-42"
iTextSharp – HTML to PDF – Finishing Up
In the last post I mentioned there were a few topics we need to close up today. The two topics we’ve left undone are popping the attribute information off the stack when we hit a closing element and dealing with the paragraph gap that normally appears between paragraph elements.
Other Related Items:
Sarah Palin 2012 (Design #2) - Political Bumper Stickers (Medium 10x2.8 in.)Size: Medium 10 x 2.8 inches. Perfect for your car, truck, motorhome, office cubicle, etc.
Wii Net ConnectGet the fastest and most secure internet connection available for the Wii with Nyko's Net Connect. The Net Connect allows the Wii to easily connect to... Read More >
Magic Mill 7qt Hotpot MHP7021WEasy pump provides high water output
360 Turning base
Heavy duty construction
Stainless steel interior
Reboil button
Classic and Stylish design
Cool touch body
Automatic cut-off electric without water
Detatchable power cord
Safety lock on cover
Automatic lock on auto dispense
iTextSharp – HTML to PDF – Writing the PDF

Last week we parsed the HTML and created code that keeps track of the various attributes we are going to need when we create the PDF. Today we will finish the code and create the Elements that we can include in our PDF document.
One consideration we will need to keep in mind as we write out the PDF is that we have pushed various font characteristics that may overlap onto our stack.
Other Related Items:
Body Glove Women's Neoprene PFD USCG Life VestWhy give up fashion while be safe when this US Coast Guard approved PFD life vest satisfies both? Pick up this fantastic bargain today and Just in time for boating season! Sizing: Small = 30"-33" Medium = 33"-36" Large = 36"-39" XL = 39"-42"
Original HP Color LaserJet C9733A Magenta Print Cartridge in Retail PackagingHP LaserJet printing supplies are always the right choice. They deliver exceptional print quality and hassle-free operation, page after page because t... Read More >
iTextSharp – HTML to PDF – Parsing HTML
Now that we have the HTML cleaned up, the next thing we will want to do is to parse the HTML.
In my actual code for this, I parse the HTML and create the PDF at the same time, but for the purposes of these posts, I’m going to deal primarily with parsing the HTML here and then deal with the PDF creation code later.
Other Related Items:
Don't Mess With Me... Programmer on Long Sleeve Women's Cotton T-Shirt (in 9 colors)100% preshrunk heavyweight cotton; double-needle stitching throughout; seamless rib at neck; shoulder-to-shoulder tape; heather grey is 90% cotton, 10% polyester; fashion cut; 5/8" rib collar; fitted tapered sleeve.
Chopin: MazurkasPillow - Roll (Scribbles)
Koolaburra 9PDF-SCN Peace Dove Flock Short in ChestnutKoolaburra 9PDF-SCN Peace Dove Flock Short by Koolaburra Peace Dove Flock Tall by Koolaburra is perfect not only to keep you warm and comfortable but ... Read More >
iText IN ACTION – Creating and Manipulating PDF
While this isn’t specifically targeted at iTextSharp, which we’ve been covering in recent posts, this is really the closest book you are going to find on the subject.
The basics are the same. Keep in mind that the main difference is that setPropertyName and getPropertyName methods have been changed to .NET style properties (versus Java style) where it makes sense. Method names start with a capital letter in iTextSharp, and event wiring is a little funky (we’ll get to that later).
Other Related Items:
Cafe Halo World Variety Pack Coffee Pods (4.23-Ounce), 16-Count Pods (Pack of 3)Café Halo World Variety Pack (pods) - Enjoy a coffee adventure with this assortment of premium coffees blended with 100% Arabica coffee from around... Read More >
Sex Love and Relationships PDF CurriculumTeenagers have been betrayed! They have not been told the whole truth about the consequences of sexual activity, experimentation and permissiveness.... Read More >
Ghirardelli Chocolate Chocolate Covered Espresso BeansReal espresso beans carefully enrobed in rich pure Ghirardelli dark chocolate.



