Class HtmlImporter
Namespace: Aspose.Note.Importing
Assembly: Aspose.Note.dll (25.4.0)
The class providing api to import content from documents in HTML format. The api allows to import from HTML document located either in a file or in a stream using specified options. The import options are passed using Aspose.Note.Importing.HtmlImportOptions.
public static class HtmlImporter
Inheritance
Inherited Members
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Methods
Import(string, HtmlImportOptions)
Imports content of HTML document from a specified file.
public static List<page> Import(string file, HtmlImportOptions options = null)
Parameters
file
string
The HTML file.
options
HtmlImportOptions
The options.
Returns
The Aspose.Note.Importing.HtmlImporter.
Import(Stream, HtmlImportOptions)
Imports content of HTML document from a provided stream.
public static List<page> Import(Stream stream, HtmlImportOptions options = null)
Parameters
stream
Stream
The stream.
options
HtmlImportOptions
The options.
Returns
The Aspose.Note.Importing.HtmlImporter.