Unplanned
Last Updated: 14 Jun 2021 11:30 by ADMIN
Sandeep
Created on: 08 Apr 2021 14:59
Category: WordsProcessing
Type: Bug Report
0
WordsProcessing: Table with specified width in inches is not correctly exported to pdf

 Table with specified width in inches is not correctly exported when the size is set in inches (this is  done in the imported HTML) 

Workaround: set the table size in the code and remove the style.

foreach (Table table in document2.EnumerateChildrenOfType<Table>())
{
    table.LayoutType = TableLayoutType.FixedWidth;
    table.PreferredWidth = new TableWidthUnit(TableWidthUnitType.Fixed, 950);
}
0 comments