Hello, I am just starting out in VB and I was wondering if I could get some help. I don't understand what this error means "Too Many Arguments to 'Public Overloads Sub New()'. Here is my code, I am trying to convert input from a textbox
into a pdf file as text. Please help me out.
Imports iTextSharp.text.pdf Imports iTextSharp.text Imports System.IO Public Class Form1 Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click Dim pdfDoc As New Document() Dim pdfWrite As PdfWriter = PdfWriter.GetInstance(pdfDoc, New FileStream("Simple.pdf", FileMode.Create)) Dim teamNameText As TextBox = New TextBox() pdfDoc.Open() pdfDoc.Add(New TextBox(teamNameText)) pdfDoc.Close() End Sub End Class