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 @@ -112,8 +112,7 @@ An `Api2PdfResponse` object is returned from every API call. If a call is unsucc
112112[ View full list of Headless Chrome options available.] ( https://www.api2pdf.com/documentation/advanced-options-headless-chrome/ )
113113
114114 var options = new Dictionary<string, string>();
115- options.Add("orientation", "landscape");
116- options.Add("pageSize", "Letter");
115+ options.Add("landscape", "true");
117116 var apiResponse = a2pClient.HeadlessChrome.FromHtml("<p>Hello, World</p>", options: options);
118117
119118** Convert URL to PDF**
@@ -128,8 +127,7 @@ An `Api2PdfResponse` object is returned from every API call. If a call is unsucc
128127[ View full list of Headless Chrome options available.] ( https://www.api2pdf.com/documentation/advanced-options-headless-chrome/ )
129128
130129 var options = new Dictionary<string, string>();
131- options.Add("orientation", "landscape");
132- options.Add("pageSize", "Letter");
130+ options.Add("landscape", "true");
133131 var apiResponse = a2pClient.HeadlessChrome.FromUrl("http://www.api2pdf.com", options: options);
134132
135133---
You can’t perform that action at this time.
0 commit comments