Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add MaxPageSize in gopdf.Config or gopdf.PageOption. #270

Open
MiyamuraMiyako opened this issue Oct 13, 2023 · 0 comments
Open

Add MaxPageSize in gopdf.Config or gopdf.PageOption. #270

MiyamuraMiyako opened this issue Oct 13, 2023 · 0 comments

Comments

@MiyamuraMiyako
Copy link

Hope to add MaxPageSize in gopdf.Config or gopdf.PageOption.
It can be used to support the height adaptation of PDF documents. For example, if the maximum height is set to 10cm, if only content with a height of 5cm is drawn, the final generated page height will be 5cm instead of 10cm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant