We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have an issue where the bottom of the page overlaps onto the next page into the header. The amount is variable, some pages overlap more than others.
Below are the settings I use and screenshots attached. Any help would be appreciated.
var doc = new HtmlToPdfDocument() { GlobalSettings = { ColorMode = ColorMode.Color, Orientation = DinkToPdf.Orientation.Landscape, PaperSize = PaperKind.A4 }, Objects = { new ObjectSettings() { PagesCount = true, HtmlContent = html, WebSettings = { DefaultEncoding = "utf-8" }, HeaderSettings = { FontSize = 9, //Right = "Page [page] of [toPage]", Right = "", Line = false, Spacing = 0 } } } };
The text was updated successfully, but these errors were encountered:
Some text is also being cut off on the right hand side.
Sorry, something went wrong.
Looks like the overlapping can be fixed with some css...
wkhtmltopdf/wkhtmltopdf#2367
No branches or pull requests
I have an issue where the bottom of the page overlaps onto the next page into the header. The amount is variable, some pages overlap more than others.
Below are the settings I use and screenshots attached. Any help would be appreciated.
var doc = new HtmlToPdfDocument()
{
GlobalSettings =
{
ColorMode = ColorMode.Color,
Orientation = DinkToPdf.Orientation.Landscape,
PaperSize = PaperKind.A4
},
Objects =
{
new ObjectSettings()
{
PagesCount = true,
HtmlContent = html,
WebSettings =
{
DefaultEncoding = "utf-8"
},
HeaderSettings =
{
FontSize = 9,
//Right = "Page [page] of [toPage]",
Right = "",
Line = false,
Spacing = 0
}
}
}
};
The text was updated successfully, but these errors were encountered: