- Code: Select all
Dim BodyStyle As PdfTrueTypeFont = New PdfTrueTypeFont(New Font("Arial", 8.0F, FontStyle.Regular))
MyTextBox = New PdfTextBoxField(MyPage, "MyTextBox")
MyTextBox.Bounds = New RectangleF(TextPoint2.X, TextPoint2.Y, DataGrid.Columns.Item(4).Width - 1, MyDataRow.Height - 1)
MyTextBox.Font = BodyStyle
MyTextBox.Multiline = True
MyDataRow.Cells.Item(4).Value = MyTextBox
This is a screen shot of the pdf file created. The font used looks like Helvetica.
Thanks in advance!
Darren Haverstick
Paul Mueller Company