Private Sub PrintPage(ByVal sender As Object, ByVal e As System.Drawing.Printing.PrintPageEventArgs) Dim fReportFont As System.Drawing.Font Dim gStringFormat As New StringFormat egraphics = e.Graphics gStringFormat.Alignment = StringAlignment.Center fReportFont = New System.Drawing.Font(Trim("Arial"), 35, FontStyle.Regular) egraphics.DrawString("Murugesh", fReportFont, New SolidBrush(Color.Black), 100, 200) 'I need equivalent code for the above line in itextsharp End Sub
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)