Contents

webViewHeaderHeight(_:)

Returns the height of the web view’s printed page header.

Declaration

optional func webViewHeaderHeight(_ sender: WebView!) -> Float

Parameters

  • sender:

    The web view that sent the message.

Return Value

The height of the web view’s printed page header. Returns 0.0 if no space is reserved for the header.

Discussion

The height returned by this method is used to calculate the rectangle passed to the webView(_:drawHeaderIn:) method.

See Also

Printing