func (req *chromeRequest) PaperSize(size [2]float64) {
	req.values[paperWidth] = fmt.Sprintf("%f", size[0])
	req.values[paperHeight] = fmt.Sprintf("%f", size[1])
}
PaperSize sets paperWidth and paperHeight form fields.
package gotenberg
import (
	"fmt"
	"strconv"
)
const (
	waitDelay                  string = "waitDelay"
	paperWidth                 string = "paperWidth"
	paperHeight                string = "paperHeight"
	marginTop                  string = "marginTop"
	marginBottom               string = "marginBottom"
	marginLeft                 string = "marginLeft"
	marginRight                string = "marginRight"
	landscapeChrome            string = "landscape"
	pageRanges                 string = "pageRanges"
	googleChromeRpccBufferSize string = "googleChromeRpccBufferSize"
	scale                      string = "scale"
)
var (
	A3 = [2]float64{11.7, 16.5}
	A4 = [2]float64{8.27, 11.7}
	A5 = [2]float64{5.8, 8.3}
	A6 = [2]float64{4.1, 5.8}
	Letter = [2]float64{8.5, 11}
	Legal = [2]float64{8.5, 14}
	Tabloid = [2]float64{11, 17}
)
var (
	NoMargins = [4]float64{0, 0, 0, 0}
	NormalMargins = [4]float64{1, 1, 1, 1}
	LargeMargins = [4]float64{2, 2, 2, 2}
)
type chromeRequest struct {
	header Document
	footer Document
	*request
}
func newChromeRequest() *chromeRequest {
	return &chromeRequest{nil, nil, newRequest()}
}
func (req *chromeRequest) WaitDelay(delay float64) {
	req.values[waitDelay] = strconv.FormatFloat(delay, 'f', 2, 64)
}
func (req *chromeRequest) Header(header Document) {
	req.header = header
}
func (req *chromeRequest) Footer(footer Document) {
	req.footer = footer
}