Class HtmlImporter
Nom dels espais: Aspose.Note.Importing Assemblea: Aspose.Note.dll (25.4.0)
La classe que proporciona API per importar continguts de documents en format HTML.L’API permet importar del document HTML situat en un arxiu o en una sèrie utilitzant opcions especificades.Les opcions d’importació s’utilitzen amb Aspose.Note.Importing.HtmlIMportOptions.
public static class HtmlImporter
{
public static void Import(string inputFilePath, string outputFilePath)
{
}
}
Inheritance
Membres heretats
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Methods
Importació (string, HtmlImportOptions)
Importa el contingut del document HTML d’un arxiu especificat.
public static List<Page> Import(string file, HtmlImportOptions options = null)
{
}
Parameters
file
string
El fitxer HTML.
options
HtmlImportOptions
Les opcions.
Returns
L’Aspose.Note.Importing.HtmlImporter.
Importació (Stream, HtmlImportOptions)
Importa el contingut del document HTML des d’un flux proporcionat.
public static List<Page> Import(Stream stream, HtmlImportOptions options = null)
{
}
Parameters
stream
Stream
El corrent.
options
HtmlImportOptions
Les opcions.
Returns
L’Aspose.Note.Importing.HtmlImporter.