docs: make pdf options strings in java and C# (#5369)
This commit is contained in:
parent
002d8ef5a7
commit
ef9995e694
|
|
@ -1613,16 +1613,31 @@ Paper ranges to print, e.g., '1-5, 8, 11-13'. Defaults to the empty string, whic
|
||||||
Paper format. If set, takes priority over [`option: width`] or [`option: height`] options. Defaults to 'Letter'.
|
Paper format. If set, takes priority over [`option: width`] or [`option: height`] options. Defaults to 'Letter'.
|
||||||
|
|
||||||
### option: Page.pdf.width
|
### option: Page.pdf.width
|
||||||
|
* langs: js, python
|
||||||
- `width` <[string]|[float]>
|
- `width` <[string]|[float]>
|
||||||
|
|
||||||
Paper width, accepts values labeled with units.
|
Paper width, accepts values labeled with units.
|
||||||
|
|
||||||
|
### option: Page.pdf.width
|
||||||
|
* langs: csharp, java
|
||||||
|
- `width` <[string]>
|
||||||
|
|
||||||
|
Paper width, accepts values labeled with units.
|
||||||
|
|
||||||
### option: Page.pdf.height
|
### option: Page.pdf.height
|
||||||
|
* langs: js, python
|
||||||
- `height` <[string]|[float]>
|
- `height` <[string]|[float]>
|
||||||
|
|
||||||
Paper height, accepts values labeled with units.
|
Paper height, accepts values labeled with units.
|
||||||
|
|
||||||
|
### option: Page.pdf.height
|
||||||
|
* langs: csharp, java
|
||||||
|
- `height` <[string]>
|
||||||
|
|
||||||
|
Paper height, accepts values labeled with units.
|
||||||
|
|
||||||
### option: Page.pdf.margin
|
### option: Page.pdf.margin
|
||||||
|
* langs: js, python
|
||||||
- `margin` <[Object]>
|
- `margin` <[Object]>
|
||||||
- `top` <[string]|[float]> Top margin, accepts values labeled with units. Defaults to `0`.
|
- `top` <[string]|[float]> Top margin, accepts values labeled with units. Defaults to `0`.
|
||||||
- `right` <[string]|[float]> Right margin, accepts values labeled with units. Defaults to `0`.
|
- `right` <[string]|[float]> Right margin, accepts values labeled with units. Defaults to `0`.
|
||||||
|
|
@ -1631,6 +1646,16 @@ Paper height, accepts values labeled with units.
|
||||||
|
|
||||||
Paper margins, defaults to none.
|
Paper margins, defaults to none.
|
||||||
|
|
||||||
|
### option: Page.pdf.margin
|
||||||
|
* langs: csharp, java
|
||||||
|
- `margin` <[Object]>
|
||||||
|
- `top` <[string]> Top margin, accepts values labeled with units. Defaults to `0`.
|
||||||
|
- `right` <[string]> Right margin, accepts values labeled with units. Defaults to `0`.
|
||||||
|
- `bottom` <[string]> Bottom margin, accepts values labeled with units. Defaults to `0`.
|
||||||
|
- `left` <[string]> Left margin, accepts values labeled with units. Defaults to `0`.
|
||||||
|
|
||||||
|
Paper margins, defaults to none.
|
||||||
|
|
||||||
### option: Page.pdf.preferCSSPageSize
|
### option: Page.pdf.preferCSSPageSize
|
||||||
- `preferCSSPageSize` <[boolean]>
|
- `preferCSSPageSize` <[boolean]>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue