ArthurHub / ArthurHub/HTML-Renderer
Exception TheArtOfDev.HtmlRenderer.Core.HtmlContainerInt.set_PageSize
- Lenguaje dominante
- C#
- Estrellas
- 1.4k
- Forks
- 550
- Merge medio
- 14 d 9 h
- PR fusionados (30 d)
- 1
Descripción
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
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- csharp
- Área
- backend
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100