Replies: 2 comments 3 replies
-
If use lower version(103、104、105、106、107 or others), it can display correctly, But once the html element goes beyond the bottom of the page, the element will be lost in pdf file! |
Beta Was this translation helpful? Give feedback.
3 replies
This comment was marked as off-topic.
This comment was marked as off-topic.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I downloaded cefsharp.Offscreen (version 109.1.110) and used code ‘PrintToPdfAsync’ to generate pdf from html pages, one elements in the html page is beyond the right side of the DIV element, I hid it through the style ‘overflow:hidden’. When I view the generated pdf file,The whole content is automatically reduced,and there are some more blanks on the right and bottom of the content. The size of these blanks is just occupied by the hidden dom. I just want to get the content in DIV,how can I solve this problem? Thanks
Beta Was this translation helpful? Give feedback.
All reactions