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

Added options 'landscape' and 'format' #81

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

KimmoLappalainen
Copy link

@KimmoLappalainen KimmoLappalainen commented Sep 26, 2024

This PR adds the following PdfOptions:

format: paper format as string. https://www.puppeteersharp.com/api/PuppeteerSharp.PdfOptions.html#PuppeteerSharp_PdfOptions_Format
Format takes priority over width and height values. Defaults to A4 as before. These are default behaviors for PuppeteerSharp PdfOptions.

landscape: paper orientation.
https://www.puppeteersharp.com/api/PuppeteerSharp.PdfOptions.html#PuppeteerSharp_PdfOptions_Landscape
Defaults to false.

@KimmoLappalainen KimmoLappalainen force-pushed the feature/pdf-options-landscape-and-format branch from 6175558 to ec6f2c9 Compare October 7, 2024 13:37
@KimmoLappalainen
Copy link
Author

bump

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

Successfully merging this pull request may close these issues.

2 participants