Load document in html format
Namespace: Spire.DocAssembly: Spire.Doc (in Spire.Doc.dll) Version: 9.6.1.0 (9.6.1.3020)
Syntax
| C# | Visual Basic | Visual C++ | F# |
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
- TextReader
Reader of html code.
- baseURL
- 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
- XHTMLValidationType
XHTML validation type.