Click or drag to resize

HtmlToRtfHeaderFooterFromHtmlURL Method

Set page header/footer from HTML document using URL.

Namespace: SautinSoft
Assembly: SautinSoft.HtmlToRtf (in SautinSoft.HtmlToRtf.dll) Version: 2024.5.22
Syntax
public void FromHtmlURL(
	string url
)

Parameters

url  String
URL as string
Remarks
We don't recommend to use complex web-sites as header or footer. The best is using simple HTML table with text and images as header/footer.

Example
SautinSoft.HtmlToRtf h = new SautinSoft.HtmlToRtf();
HtmlConvertOptions opt = new HtmlConvertOptions();
opt.PageSetup.PageHeader.FromHtmlURL(@"http://mysite.com/header.htm");
See Also