1. I want "ChangeMe" to be without space(padding /margin ?!) on top or buttom like all the other cells. -> I tried something like this in a loop "for(...;...;...)table[y - 2, counter].CellFormat.Paddings.All = 0;"
2. Converting the WORD to PDF will result in, that the table is oversized. -> This could be the reason "table[y, 1].Width = 1000;", because I want this column to be the biggest and the rest should take the rest of the entire space, but obviosly when converting the word to pdf this does not work anymore. -> I also have "IsAutoResized" enabled
SYSethumanikkam Yogendran Syncfusion Team October 27, 2016 12:40 PM UTC
Thank you for contacting Syncfusion support.
On further analyzing with provided Word document, we have found mentioned “ChangeMe” already has set to zero for top/bottom margin and spacing occurred due to After Spacing set to that paragraph.
We have prepared a following sample to meet your requirement, in this sample we have done the following things.
1. Loaded provided Word document using DocIO. 2. Gets Table from document and Iterated each cell from row by row in that table. 3. For second column set width higher than other columns and After spacing set as zero. 4. Converted Word document into PDF using DocIO.
If we misunderstand your requirement then, kindly provide us your sample or modified given sample along with Input document used (if any) and screenshot/output of the expected result which will helpful to provide you the appropriate solution.