Class HtmlImporter
Tên không gian: Aspose.Note.Importing Tổng hợp: Aspose.Note.dll (25.4.0)
Khóa học cung cấp API để nhập nội dung từ các tài liệu trong định dạng HTML.API cho phép nhập từ tài liệu HTML nằm trong tệp hoặc trong một dòng bằng cách sử dụng các tùy chọn cụ thể.Các tùy chọn nhập khẩu được thông qua bằng cách sử dụng Aspose.Note.Importing.HtmlIMportOptions.
public static class HtmlImporter
Inheritance
Thành viên thừa kế
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Methods
Import(Thẻ, HtmlImportOptions)
nhập nội dung tài liệu HTML từ một tệp cụ thể.
public static List<page> Import(string file, HtmlImportOptions options = null)
Parameters
file
string
Các tập tin HTML
options
HtmlImportOptions
Các tùy chọn.
Returns
Các Aspose.Note.Importing.HtmlImporter.
Import(Stream, HtmlImportOptions)
Thu nhập nội dung tài liệu HTML từ một dòng được cung cấp.
public static List<page> Import(Stream stream, HtmlImportOptions options = null)
Parameters
stream
Stream
dòng chảy
options
HtmlImportOptions
Các tùy chọn.
Returns
Các Aspose.Note.Importing.HtmlImporter.