Contents

printOperation(with:)

Returns the print operation object to use when printing the contents of the web view.

Declaration

func printOperation(with printInfo: NSPrintInfo) -> NSPrintOperation

Parameters

  • printInfo:

    The printer information object to use when configuring the print operation.

Return Value

The print operation object to use when printing the web view, or nil if printing is not supported.

See Also

Capturing the web view’s content