## HtmlSource.FromFile method

## FromFile(string) {#fromfile_string}

A local file, resolved to a full path now.

```csharp
public static HtmlSource FromFile(string path)
```

| Parameter | Type | Description |
| --- | --- | --- |
| path | string | The file path. |

### Return Value

[HtmlSource](../)

### See Also

* class [HtmlSource](../)
* namespace [Aspose.Css](../../)
* assembly [Aspose.CSS](../../../)
