hello, i have a data table that is bound to an Aspose.Pdf.Generator.Table and I want to underline the column header row which is the first row on the Aspose.Pdf.Generator.Table. Here is my code:
Aspose.Pdf.Generator.Table dataTable = new Aspose.Pdf.Generator.Table();
dataTable.DefaultCellTextInfo.FontSize = 8.5F;
dataTable.DefaultCellTextInfo.FontName = "Helvetica";
//import the data from the data source
dataTable.ImportDataTable(ConstructDummyDataTable(), true, 0, 0);
dataTable.Rows[0].Border = new Aspose.Pdf.Generator.BorderInfo((int)Aspose.Pdf.Generator.BorderSide.Bottom, 1.1F);
When I try this I would expect the first row on the table to be underlined, however, that is not happening. However, when i set the entire table like so,
dataTable.Border = new Aspose.Pdf.Generator.BorderInfo((int)Aspose.Pdf.Generator.BorderSide.Bottom, 1.1F);
every record gets an underline which is not what i want.
Can anybody please assist. Thank you so much!