Document
LoadHTML Method (TextReader, String, XHTMLValidationType)
|
Load document in html format
Namespace:
Spire.Doc
Assembly:
Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
public void LoadHTML(
TextReader reader,
string baseURL,
XHTMLValidationType validationType
)
Public Sub LoadHTML (
reader As TextReader,
baseURL As String,
validationType As XHTMLValidationType
)
public:
void LoadHTML(
TextReader^ reader,
String^ baseURL,
XHTMLValidationType validationType
)
member LoadHTML :
reader : TextReader *
baseURL : string *
validationType : XHTMLValidationType -> unit
Parameters
-
reader
-
Type:
System.IO
TextReader
Reader of html code.
-
baseURL
-
Type:
System
String
The default base URL for all links of external resource,
it should be a absolute and well formed uri string, for example:
http://www.e-iceblue.com/ or file:///C:/mywebsite/docs/
If it's null, use the href attribute of base tag in html instead;
Otherwise, it will overwrite the href attribute of base tag.
-
validationType
-
Type:
Spire.Doc.Documents
XHTMLValidationType
XHTML validation type.
See Also