I have tested the scenario using the following code snippet and I am unable to reproduce the problem. I have set my regional language settings to Duth (Netherlands) and also have set it for non-Unicode programs. Please suggest me if I am missing any thing. The resultant file is in attachment.
[C#]
//Create pdf document Pdf pdf1 = new Pdf(); Aspose.Pdf.Section sec1 = pdf1.Sections.Add();
//Instantiate a table object Aspose.Pdf.Table tab1 = new Aspose.Pdf.Table(); //Add the table in paragraphs collection of the desired section sec1.Paragraphs.Add(tab1); //Set with column widths of the table tab1.ColumnWidths = "150 50 50"; //Set default cell border using BorderInfo object tab1.DefaultCellBorder = new BorderInfo((int)BorderSide.All, 0.1F); //Set table border using another customized BorderInfo object tab1.Border = new BorderInfo((int)BorderSide.All, 1F); //Create MarginInfo object and set its left, bottom, right and top margins MarginInfo margin = new MarginInfo(); margin.Top = 5f; margin.Left = 5f; margin.Right = 5f;| margin.Bottom = 5f; //Set the default cell padding to the MarginInfo object tab1.DefaultCellPadding = margin;
//Create rows in the table and then cells in the rows Aspose.Pdf.Row row1 = tab1.Rows.Add(); row1.Cells.Add("col1"); row1.Cells.Add("col2"); row1.Cells.Add("col3");
A code snippet of the actual code is going to be a little hard, you see it is part of an autoscaling routine I built, and it resizes the font size and calculates the neccesary space for each column so depending on what the user wants to display in the table you get different results.
Hello Robbert,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
Sorry for misspelling your name in my previous reply and I hope this time I am writing the correct one.
I have tested the issue and I’m able to reproduce the same problem. I have logged it in our issue tracking system as PDFNET-6368. We will investigate this issue in detail and will keep you updated on the status of a correction. We apologize for your inconvenience.
The issues you have found earlier (filed as ) have been fixed in this update. This message was posted using BugNotificationTool from Downloads module by MuzammilKhan