ArthurHub / ArthurHub/HTML-Renderer
PrintDocument graphics gdi+ vs gdi issue (winforms)
- 主要语言
- C#
- 星标
- 1.4k
- 派生
- 550
- 平均合并
- 14 天 9 小时
- 30 天内合并 PR
- 1
描述
Hi,
It seems like something is off with regular gdi rendering in the current version. Seems like it is being output at an extremely small resolution, even though I'm passing the correct margin data.
Here's a ghetto phone pic of my printed output:

Here are the statements I'm using:
`HtmlRender.Render(printerGraphics, html, (float)printedMarginArea.Left, (float)printedMarginArea.Top, (float)printedMarginArea.Width);`
`HtmlRender.RenderGdiPlus(printerGraphics, html, (float)printedMarginArea.Left, (float)printedMarginArea.Top, (float)printedMarginArea.Width);`
The regular "render" method appears to be scaling correctly in 1.3.0, but I'm missing too much functionality to be able to use that version. I'm trying to poke around the source code but I'm not able to find the disconnect...
Appreciate it!
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。