Property FooterTemplate
- Namespace
- DotNetBrowser.Print.Settings
- Assembly
- DotNetBrowser.dll
FooterTemplate
Gets or sets the HTML to be displayed in the footer.
string FooterTemplate { get; set; }
Property Value
- string
The footer template. Cannot be 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.
<ul>
<li><code>date</code>: the formatted print date;</li>
<li><code>title</code>: the document title;</li>
<li><code>url</code>: the document location;</li>
<li><code>pageNumber</code>: the current page number;</li>
<li><code>totalPages</code>: the total page count in the document;</li>
</ul>
</p>
<p>
For example,
would generate a span containing a title.
The programming, audio/video, and frame tags are not supported. Images are supported only with Base64 content.
Exceptions
- ArgumentNullException
The specified footer template is null.