FooterTemplateExtensions.SetFooterTemplate<TPrintSettings> Method |
Sets the HTML to be displayed in the footer.
Namespace:
DotNetBrowser.Print.Settings
Assembly:
DotNetBrowser (in DotNetBrowser.dll) Version: 2.23.3
Syntax public static TPrintSettings SetFooterTemplate<TPrintSettings>(
this IFooterTemplate<TPrintSettings> obj,
string footerTemplate
)
where TPrintSettings : class, IPrintSettings
Parameters
- obj
- Type: DotNetBrowser.Print.Settings.IFooterTemplate<TPrintSettings>
The IFooterTemplate<TPrintSettings> implementation. - footerTemplate
- Type: System.String
The HTML to be displayed in the footer. Cannot be null.
Type Parameters
- TPrintSettings
- The specific print settings type.
Return Value
Type:
TPrintSettingsThe current print settings instance.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IFooterTemplate<TPrintSettings>. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
Exceptions Exception | Condition |
---|
ArgumentNullException | The specified header template is null. |
See Also