Contents

pdf(region:allowTransparentBackground:)

A configuration of a webpage for a representation as PDF data.

Declaration

static func pdf(region: WebPage.ExportedContentConfiguration.Region = .contents, allowTransparentBackground: Bool = false) -> WebPage.ExportedContentConfiguration

Parameters

  • region:

    The region of the page used to generate the PDF.

  • allowTransparentBackground:

    Indicates whether the PDF may have a transparent background.

Return Value

The PDF configuration of this page that will be used when producing its representation.

See Also

Configurable types