ArthurHub / ArthurHub/HTML-Renderer
Exception TheArtOfDev.HtmlRenderer.Core.HtmlContainerInt.set_PageSize
- Langage dominant
- C#
- Étoiles
- 1.4k
- Forks
- 550
- Merge moyen
- 14 j 9 h
- PR mergées (30 j)
- 1
Description
When I execute:
`PdfDocument pdf = PdfGenerator.GeneratePdf("
Hello World
This is html rendered text", PageSize.A4);`happens this exeception:
`Method not found: 'Void TheArtOfDev.HtmlRenderer.Core.HtmlContainerInt.set_PageSize(TheArtOfDev.HtmlRenderer.Adapters.Entities.RSize)'.`
My HtmlRenderer.PdfSharp version: 1.5.1-beta1
Because I need do a page break with :
`td { page-break-inside: avoid; }`
My PdfSharp version: 1.50.5147
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Start by reproducing the GeneratePdf call from the issue with HtmlRenderer.PdfSharp 1.5.1-beta1 and PdfSharp 1.50.5147. Check the compatibility of the referenced HtmlContainerInt.PageSize setter and verify the result with the reported td { page-break-inside: avoid; } use case. Done means PDF generation no longer raises the missing-method exception while preserving the requested page-break behavior.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- csharp
- Domaine
- backend
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 35/100