<pre>private void button1_Click(object sender, EventArgs e) { Document doc = new Document(iTextSharp.text.PageSize.LETTER, 10, 10, 42, 35); PdfWriter wri = PdfWriter.GetInstance(doc, new FileStream("Test.pdf", FileMode.Create)); doc.Open(); doc.Add(); doc.Close(); }
e.Graphics.DrawString(label1.Text, label1.Font, Brushes.Black, 13, 13);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)