Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RenderOpts ¶
type RenderOpts struct {
// The width of the PDF page in mm
Width float64
// The height of the PDF page in mm
Height float64
// GenerateTaggedPDF indicates whether to generate a tagged PDF, see
// https://chromedevtools.github.io/devtools-protocol/tot/Page/#method-printToPDF
GenerateTaggedPDF bool
// GenerateDocumentOutline indicates whether to generate a document outline,
// see https://chromedevtools.github.io/devtools-protocol/tot/Page/#method-printToPDF
GenerateDocumentOutline bool
}
RenderOpts contains options for rendering a PDF
Click to show internal directories.
Click to hide internal directories.