Unplanned
Last Updated: 15 Nov 2021 07:01 by ADMIN
Mauro
Created on: 15 Nov 2021 06:58
Category: PdfProcessing
Type: Bug Report
0
WodsProcessing: A small line is drawn in the top left corner when converting a paragraph with a shading color to PDF

A small line is drawn in the top left corner when converting a paragraph with a shading color to a PDF

Workaround: 

var table = header.Blocks.AddTable();
table.PreferredWidth = new TableWidthUnit(TableWidthUnitType.Percent, 100);
var row = table.Rows.AddTableRow();
var cell = row.Cells.AddTableCell();
cell.Shading.BackgroundColor = new ThemableColor(Colors.Red);

var head = new Run(doc);
head.Text = "Test";
var paragraph = cell.Blocks.AddParagraph();
paragraph.TextAlignment = Telerik.Windows.Documents.Flow.Model.Styles.Alignment.Center;
paragraph.Inlines.Add(head);

0 comments