Hi,
Can I change font of specific row in the PdfTable to bold?
only in a specific rows in the table, I wouldn't like to bold all the rows.
(it will be better if I can assigned them bold in advance)
This is my code:
Dim PdfTable As New PdfTable()
PdfTable.Style.CellPadding = 2
PdfTable.Style.HeaderSource = PdfHeaderSource.Rows
PdfTable.Style.HeaderRowCount = 1
PdfTable.Style.ShowHeader = True
PdfTable.DataSource = dataSource
Dim fontCell As PdfTrueTypeFont = New PdfTrueTypeFont(New Font("Alef-Regular.ttf", 12.0F), True)
PdfTable.Style.DefaultStyle.Font = fontCell
Dim result As PdfLayoutResult = PdfTable.Draw(page, New PointF(0, high))