Packages an HTML document into a large single file package that embeds all images, css, scripts, fonts and other url() loaded entries into the HTML document.
The result is a very large document that is fully self-contained
public string PackageHtml(string urlOrFile, string basePath, bool createExternalFiles)
HTML string or null
A Web Url or fully qualified local file name
An optional basePath for the document which helps resolve relative paths. Unless there's a special use case, you should leave this value blank and let the default use either the value from a BASE tag or the base location of the document.
If the document itself contains a BASE tag this value is not used.
See also:Class HtmlPackager
Comment or report problem with topic