File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -131,8 +131,7 @@ Output:
131131[ View full list of Headless Chrome options available.] ( https://www.api2pdf.com/documentation/advanced-options-headless-chrome/ )
132132
133133 options = {
134- 'orientation': 'landscape',
135- 'pageSize': 'A4'
134+ 'landscape': True
136135 }
137136 api_response = a2p_client.HeadlessChrome.convert_from_html('<p>Hello, World</p>', **options)
138137
@@ -148,8 +147,7 @@ Output:
148147[ View full list of Headless Chrome options available.] ( https://www.api2pdf.com/documentation/advanced-options-headless-chrome/ )
149148
150149 options = {
151- 'orientation': 'landscape',
152- 'pageSize': 'A4'
150+ 'landscape': True
153151 }
154152 api_response = a2p_client.HeadlessChrome.convert_from_url('http://www.api2pdf.com', **options)
155153
You can’t perform that action at this time.
0 commit comments