You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| source | string | Set PDF document source. It must be specified. The source can be a URL or an HTML code. |
61
-
| timeout | integer | Set connection timeout. Default is `10`. |
62
-
| javascript | boolean | Enable JavaScripts. To enable, the value should be true. Disabled by default. |
63
-
| pageRanges | string | Set pages by the numbers and ranges. Example: `1,2-4`. All pages included by default. |
64
-
| mediaType | string | Set paper CSS media type. Must be one of `screen` or `print`. Default is `screen`. |
65
-
| format | string | Set paper format. Must be one of `A0`, `A1`, `A2`, `A3`, `A4`, `A5`, `A6`, `Letter`, `Legal`, `Tabloid`, `Ledger`. Default is `A4`. |
66
-
| width | integer | Set PDF document width. Both height and width must be used together. It will disable `format` option. |
67
-
| height | integer | Set PDF document height. Both height and width must be used together. It will disable `format` option. |
68
-
| scale | float | Set scale. The value must be greater than or equals to `0.1`, or lower than or equals to `2`. Default is `1`. |
69
-
| landscape | boolean | Enable landscape mode. To enable, the value should be true. Disabled by default. |
70
-
| margin | string | Set margin(s) for the PDF document. It can be all four margin or specified by the values separated with space. Default is `0`. |
71
-
| userAgent | string | Set custom user-agent string. |
72
-
| base64 | boolean | Return the PDF as a base64-encoded string (REST API only). Disabled by default. |
| source | string | Set PDF document source. It must be specified. The source can be a URL or an HTML code. |
61
+
| timeout | integer | Set connection timeout. Default is `10`. |
62
+
| javascript | boolean | Enable JavaScripts. To enable, the value should be true. Disabled by default. |
63
+
| pageRanges | string | Set pages by the numbers and ranges. Example: `1,2-4`. All pages included by default. |
64
+
| mediaType | string | Set paper CSS media type. Must be one of `screen` or `print`. Default is `screen`. |
65
+
| format | string | Set paper format. Must be one of `A0`, `A1`, `A2`, `A3`, `A4`, `A5`, `A6`, `Letter`, `Legal`, `Tabloid`, `Ledger`. Default is `A4`. |
66
+
| width | integer | Set PDF document width. Both height and width must be used together. It will disable `format` option. |
67
+
| height | integer | Set PDF document height. Both height and width must be used together. It will disable `format` option. |
68
+
| scale | float | Set scale. The value must be greater than or equals to `0.1`, or lower than or equals to `2`. Default is `1`. |
69
+
| landscape | boolean | Enable landscape mode. To enable, the value should be true. Disabled by default. |
70
+
| margin | string | Set margin(s) for the PDF document. It can be all four margin or specified by the values separated with space. Default is `0`. |
71
+
| userAgent | string | Set custom user-agent string. |
72
+
| base64 | boolean | Return the PDF as a base64-encoded string (REST API only). Disabled by default. |
73
+
| headerTemplate | string | Set PDF header. HTML template for the print header. Should be valid HTML with the following classes used to inject values into them: <ul><li>date formatted print date</li><li>title document title</li><li>url document location</li> <li>pageNumber current page number</li><li>totalPages total pages in the document</li></ul> |
74
+
| footerTemplate | string | Set PDF footer. HTML template for the print header. Should be valid HTML with the following classes used to inject values into them: <ul><li>date formatted print date</li><li>title document title</li><li>url document location</li> <li>pageNumber current page number</li><li>totalPages total pages in the document</li></ul> |
0 commit comments