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…...var ms = new MemoryStream(Encoding.UTF8.GetBytes(_htmlDocument...Prepare the HTML source (UTF‑8 encoded) // ---------- var html = _htmlDocument...