共用方式為


CoreWebView2PrintSettings.ShouldPrintHeaderAndFooter Property

Definition

true if header and footer should be printed.

public bool ShouldPrintHeaderAndFooter { get; set; }
member this.ShouldPrintHeaderAndFooter : bool with get, set
Public Property ShouldPrintHeaderAndFooter As Boolean

Property Value

Remarks

The default value is false. The header consists of the date and time of printing, and the title of the page. The footer consists of the URI and page number. The height of the header and footer is 0.5 cm, or ~0.2 inches.

Applies to