BaseURL property
Namespace:
SautinSoftAssembly: SautinSoft.HtmlToRtf (in SautinSoft.HtmlToRtf.dll) Version: 4.1.8.13
Syntax
Remarks
This is very important property when you are converting HTML document in memory. For example, lets convert HTML string to RTF file.
If we've specified:
h.BaseURL = @"d:\my webs";
When the component meets 'src="images/asterisk.jpg"' it will try to open it from: "d:\my webs\images\asterisk.jpg"
If we've specified:
h.BaseURL = @"d:\my webs";
When the component meets 'src="images/asterisk.jpg"' it will try to open it from: "d:\my webs\images\asterisk.jpg"
Examples
SautinSoft.HtmlToRtf h = new SautinSoft.HtmlToRtf(); h.BaseURL = Server.MapPath("");
Dim h As New SautinSoft.HtmlToRtf() h.BaseURL = Server.MapPath("")