Saturday, April 5, 2014

Visual Basic .NET Tutorial 48 - How to create Lists with iTextSharp PDF ...





Imports iTextSharp.text.pdf
Imports iTextSharp.text
Imports System.IO
Public Class Form1


    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Try
            Dim pdfDoc As New Document()
            Dim pdfWrite As PdfWriter =
            PdfWriter.GetInstance(pdfDoc,
                                  New FileStream("Simple.pdf", FileMode.Create))
            pdfDoc.Open()
            pdfDoc.Add(New Paragraph("Hello World"))

            Dim list As New List(list.UNORDERED)
            list.IndentationLeft = 30.0F
            list.Add(New ListItem("One"))

            list.Add("Two")
            list.Add("Three")
            list.Add("Four")
            list.Add("Five")
            'pdfDoc.Add(New Paragraph("List"))
            'pdfDoc.Add(list)

            Dim romanlist As New RomanList(True, 20)
            romanlist.IndentationLeft = 30.0F
            romanlist.Add(New ListItem("One"))

            romanlist.Add("Two")
            romanlist.Add("List")
            romanlist.Add(list)
            romanlist.Add("Three")
            romanlist.Add("Four")
        
            pdfDoc.Add(New Paragraph("RomanList"))
            pdfDoc.Add(romanlist)


            pdfDoc.Close()

        Catch ex As Exception
            MessageBox.Show(ex.Message)
        End Try
       
    End Sub
End Class










Visual Basic .NET - iTextSharp creation of a pdf from a list

Generating PDF using ItextSharp

iTextSharp continued: lists, lines, pdf

checkbox list to itextsharp list

Tutorials on creating PDF files using Visual Basic .NET

Create PDF Files on fly in Visual Basic .NET sample code

creating pdf file in Visual Basic .NET

create pdf file from vb.net - MSDN - Microsoft‎

How to create PDF file on Visual Basic .NET or may be you know some

creating a pdf file with Visual Basic .NET - MSDN - Microsoft‎

Create Simple PDF File usingVisual Basic .NET

How to create PDF file in C#.Net  Open Source PDF Libraries in vb.net

Creating pdf files at runtime inVisual Basic .NET

.NET PDF Component - Create Convert PDF Files in Visual Basic .NET

Searches related to create pdf file c# create doc fileVisual Basic .NET create pdf file java create html c# c# itextsharp create pdf create pdf asp.net c# using itextsharp itextsharp tutorial c# itextsharp text to pdf
IT Certification Category (English)640x480

Partner Sites

VideoToGifs.com

EasyOnlineConverter.com

SqliteTutorials.com


Top Online Courses From ProgrammingKnowledge

Python Course http://bit.ly/2vsuMaS
Java Coursehttp://bit.ly/2GEfQMf
Bash Coursehttp://bit.ly/2DBVF0C
Linux Coursehttp://bit.ly/2IXuil0
C Course http://bit.ly/2GQCiD1
C++ Coursehttp://bit.ly/2V4oEVJ
PHP Coursehttp://bit.ly/2XP71WH
Android Coursehttp://bit.ly/2UHih5H
C# Coursehttp://bit.ly/2Vr7HEl
JavaFx Coursehttp://bit.ly/2XMvZWA
NodeJs Coursehttp://bit.ly/2GPg7gA
Jenkins Course http://bit.ly/2Wd4l4W
Scala Coursehttp://bit.ly/2PysyA4
Bootstrap Coursehttp://bit.ly/2DFQ2yC
MongoDB Coursehttp://bit.ly/2LaCJfP
QT C++ GUI Coursehttp://bit.ly/2vwqHSZ