ArthurHub / ArthurHub/HTML-Renderer
I got an 'System.InvalidOperationException' and message 'Cannot save a PDF document with no pages.'
Open
bug
CSS
PDF
- Dominant language
- C#
- Stars
- 1.4k
- Forks
- 550
- Avg merge
- 14d 9h
- Merged PRs (30d)
- 1
Description
I generate a PdfDocument with ```TheArtOfDev.HtmlRenderer.PdfSharp.PdfGenerator.GeneratePdf(html, PdfSharp.PageSize.Letter)```, and the html has contents, but the PdfDocument is empty and cause a 'System.InvalidOperationException' when i save the document by ```pdf.Save(memoryStream)```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.