Click or drag to resize

IFooterTemplateTPrintSettingsFooterTemplate Property

Gets or sets the HTML to be displayed in the footer.

Namespace:  DotNetBrowser.Print.Settings
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.25.1
Syntax
C#
string FooterTemplate { get; set; }

Property Value

Type: String
The footer template. Cannot be null.
Exceptions
ExceptionCondition
ArgumentNullExceptionThe specified footer template is null.
Remarks

Apply the following CSS classes to insert printing metadata into the template. These classes don't affect the visual appearance of the elements.

  • date: the formatted print date;
  • title: the document title;
  • url: the document location;
  • pageNumber: the current page number;
  • totalPages: the total page count in the document;

For example,

<span class="title"></span>
would generate a span containing a title.

The programming, audio/video, and frame tags are not supported. Images are supported only with Base64 content.

See Also