Completed
Last Updated: 17 May 2023 06:56 by ADMIN
Release R2 2023
ADMIN
Tanya
Created on: 23 Mar 2018 15:45
Category: WordsProcessing
Type: Bug Report
0
WordsProcessing: PdfFormatProvider: ArgumentException is thrown due to incorrect measurement of block elements inside TableCell

The measurements of the table cell are incorrect and an ArgumentException is thrown in TableCell.Draw when trying to create a rectangle with negative height: "Width and Height must be non-negative." 
 
Workaround (only in a specific scenario in which HTML content is merged into a TableCell): When HTML content is merged into a TableCell using InsertDocument() with ConflictingStylesResolutionMode=RenameSourceStyle, If the HTML or ConflictingStylesResolutionMod is changed, the exception is not thrown: ConflictingStylesResolutionMode.UseTargetStyle
0 comments