Completed
Last Updated: 06 Oct 2026 18:49 by ADMIN
Release 2026.3.1006 (2026 Q3)
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