When I render PDF from HTML, PageInfo.AnyMargin does not seem to have any effect.
This it the code I’m using
private void CreatePdfDocument()
{
using var ms = new MemoryStream(Encoding.UTF8.GetBytes(_htmlDocument.H…...If the HTML itself contains CSS margin definitions (e.g., body...… } or an @page rule), those CSS values have higher priority and...