FooterText Property  
 

Sets or returns the text displayed in the footer of each printed page.

Syntax

object.FooterText [= value ]

Remarks

The FooterText property specifies the text displayed in the footer of each printed page. Setting this property automatically sets the PrintHeaders property to True.

If this property has not been set, the WebView control uses the default footer text provided by the WebView2 runtime. Setting the property to an empty string explicitly suppresses the footer text. This distinction allows an application to use the default footer or replace it with custom text, including an empty string.

The footer text should contain only plain text. HTML markup, character entity references, and other formatting instructions are not interpreted. Any such content is treated as literal text rather than being rendered or formatted.

Setting the FooterText property to an empty string suppresses the text displayed in the bottom-left section of the footer. However, the WebView2 printing engine continues to include the page number in the bottom-right corner. To suppress the page number, headers and footers must be disabled entirely by setting the PrintHeaders property to False.

The value of this property affects both printed documents and documents saved in PDF format.

Data Type

String

See Also