Hi! I am upgrading Aspose PDF 6.4 to Aspose PDF 7.9. I am using the classes in the Aspose.Pdf.Generator namespace. I currently have 3 issues (please see attachment for first 2 issues… as we say a picture is worth a 1000 words):
Hi Jean,
issue in our bug tracking system as PDFNEWNET-35173 for further investigation and resolution. I’ve also linked your request to this
issue and you will be notified via this thread as soon as it is resolved.
any further assistance.
Hi Jean,
Document doc = new
Document();<o:p></o:p>
Page page = doc.Pages.Add();
// Create a table...
Aspose.Pdf.Table table = new Aspose.Pdf.Table();
table.Border = new Aspose.Pdf.BorderInfo(Aspose.Pdf.BorderSide.Box, 0.1f, Aspose.Pdf.Color.Red);
table.DefaultCellBorder = new Aspose.Pdf.BorderInfo(Aspose.Pdf.BorderSide.Right, Aspose.Pdf.Color.Green);
string widths = "25 50 35 50";
table.ColumnWidths = widths;
Aspose.Pdf.Row row1 = table.Rows.Add();
row1.Border = new Aspose.Pdf.BorderInfo(Aspose.Pdf.BorderSide.All, Aspose.Pdf.Color.Blue);
AddCell(row1, "cell1", 1, 1);
AddCell(row1, "cell2", 2, 1);
AddCell(row1, "cell3", 1, 1);
Aspose.Pdf.Row row2 = table.Rows.Add();
AddCell(row2, "cell4", 1, 1);
AddCell(row2, "cell5-6", 2, 1);
AddCell(row2, "cell7", 1, 1);
Aspose.Pdf.Row row3 = table.Rows.Add();
AddCell(row3, "cell8", 1, 2);
AddCell(row3, "cell9", 1, 1);
AddCell(row3, "cell10", 2, 2);
Aspose.Pdf.Row row4 = table.Rows.Add();
AddCell(row4, "cell11", 1, 1);
page.Paragraphs.Add(table);
doc.Save("c:/pdftest/TableBorderIssue.pdf");
public void AddCell(Aspose.Pdf.Row row, string text, int colSpan, int rowSpan)
{
Aspose.Pdf.Cell cell = row.Cells.Add(text);
cell.RowSpan = rowSpan;
cell.ColSpan = colSpan;
}
The issues you have found earlier (filed as PDFNEWNET-35173) have been fixed in Aspose.Pdf for .NET 8.1.0.
This message was posted using Notification2Forum from Downloads module by Aspose Notifier.