Welcome Guest Search | Active Topics | Sign In | Register

ChildProcessOutOfMemoryException Options
Vlatko
Posted: Monday, January 15, 2024 7:57:38 AM
Rank: Newbie
Groups: Member

Joined: 12/12/2023
Posts: 6
Hello,

Encountering the following error once i set ZoomLevel property to 0.081f
https://ibb.co/8XtZGtK error
https://ibb.co/WgmQBy6 - properties set

Had to start using ZoomLevel to mimic pdf rendering locally as it would on cloud env.
After it is set, even tho the exception occurs the pdf is generated but it is extremely small
https://ibb.co/SXZ9FdG
eo_support
Posted: Tuesday, January 16, 2024 10:44:11 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,088
This is exactly what ZoomLevel is designed to do. When you set it to a small value, then the content of the PDF (such as text and images) will be small. In short EO.Pdf is doing what you tell it to do. Why do you want to set ZoomLevel to such a small value? And what is the expected result?
Vlatko
Posted: Wednesday, January 17, 2024 5:38:51 AM
Rank: Newbie
Groups: Member

Joined: 12/12/2023
Posts: 6
Isn't default ZoomLevel = 0? So increasing it a bit will increase the zoom of the page?
eo_support
Posted: Wednesday, January 17, 2024 9:47:35 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,088
The default value 0 is NOT a valid zoom level. It means the converter will automatically pick a zoom level. An actual zoom level when set (when not zero) is a multiplier of the actual size. So for example, if you want the text to be half of its original size, you set ZoomLevel to 0.5. See here for more details:

https://www.essentialobjects.com/doc/eo.pdf.htmltopdfoptions.zoomlevel.html
Vlatko
Posted: Thursday, January 18, 2024 9:49:41 AM
Rank: Newbie
Groups: Member

Joined: 12/12/2023
Posts: 6
Thanks for the clarification.


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.