diff --git a/Tasks/PdfBuilder.cs b/Tasks/PdfBuilder.cs index 9587fe4..11491aa 100644 --- a/Tasks/PdfBuilder.cs +++ b/Tasks/PdfBuilder.cs @@ -254,7 +254,7 @@ public class PdfBuilder // First cell: placeholder if (isFirstCell) { - DrawCell(gfx, x, y, pvst, placeholderText); + DrawCell(gfx, x, y, pvst, placeholderText, true); isFirstCell = false; } else if (addressIndex < addresses.Count) @@ -275,7 +275,7 @@ public class PdfBuilder } - private void DrawCell(XGraphics gfx, double x, double y, bool pvst, string? address) + private void DrawCell(XGraphics gfx, double x, double y, bool pvst, string? address, bool isPlaceholer = false) { try { @@ -286,7 +286,7 @@ public class PdfBuilder var rect = new XRect(x, y, cellWidthPoints, cellHeightPoints); gfx.DrawRectangle(XPens.Transparent, rect); - if (pvst) + if (pvst && !isPlaceholer) { InsertDPPressepostImage(gfx, rect); }