## Import(string, HtmlImportOptions) {#import_1}

Imports content of HTML document from a specified file.

```csharp
public static List<Page> Import(string file, HtmlImportOptions options = null)
```

| Parameter | Type | Description |
| --- | --- | --- |
| file | String | The HTML file. |
| options | HtmlImportOptions | The options. |

### Return Value

The [`HtmlImporter`](../).

### See Also

* class [Page](../../../aspose.note/page/)
* class [HtmlImportOptions](../../htmlimportoptions/)
* class [HtmlImporter](../)
* namespace [Aspose.Note.Importing](../../htmlimporter/)
* assembly [Aspose.Note](../../../)

---

## Import(Stream, HtmlImportOptions) {#import}

Imports content of HTML document from a provided stream.

```csharp
public static List<Page> Import(Stream stream, HtmlImportOptions options = null)
```

| Parameter | Type | Description |
| --- | --- | --- |
| stream | Stream | The stream. |
| options | HtmlImportOptions | The options. |

### Return Value

The [`HtmlImporter`](../).

### See Also

* class [Page](../../../aspose.note/page/)
* class [HtmlImportOptions](../../htmlimportoptions/)
* class [HtmlImporter](../)
* namespace [Aspose.Note.Importing](../../htmlimporter/)
* assembly [Aspose.Note](../../../)


