The PrintHeaders property determines whether page headers
and footers are included when printing a document or saving it as a
PDF. When enabled, the default header and footer text is used unless
custom text has been specified using the HeaderText or
FooterText properties. Setting this property to False suppresses
both headers and footers without changing their configured text.
The Microsoft Edge WebView2 runtime does not support independently
enabling or disabling page headers and footers. When the PrintHeaders
property is set to True, both headers and footers are enabled; when
set to False, both are disabled.
The value of this property affects both printed documents and
documents saved in PDF format.