DinkToPdf icon indicating copy to clipboard operation
DinkToPdf copied to clipboard

Images are overlaping the text after page break

Open PatrykSzwer opened this issue 6 years ago • 2 comments

When I try to generate my pdf from html with multiple images and table-based layout, when new page break occurs there sometimes happen overlap like this: image

my settings for dink:

            var globalSettings = new GlobalSettings
            {
                ColorMode = ColorMode.Color,
                Orientation = Orientation.Portrait,
                PaperSize = PaperKind.A3,
                Margins = new MarginSettings { Top = 10 },
                DocumentTitle = "PDF Report"
            };

=====ObjectSettings====
PagesCount = true,
                HtmlContent = html,
                WebSettings = { DefaultEncoding = "utf-8" },
                HeaderSettings = { FontName = "Arial", FontSize = 10, Right = "Page [page] of [toPage]", Line = true, Spacing = 2.812 },

PatrykSzwer avatar Jun 26 '19 09:06 PatrykSzwer

Hi , do you resolve this problem ?

scarky avatar Jan 31 '20 20:01 scarky

@PatrykSzwer Why can't my picture be displayed in PDF ,Do you have a problem like me? How can I solve it

wangengzheng avatar Jun 09 '21 09:06 wangengzheng