## HtmlSource.FromStream method

## FromStream(Stream, string) {#fromstream_stream_string}

Bytes read now from the current position; the stream is left open.

```csharp
public static HtmlSource FromStream(Stream input, string baseUri)
```

| Parameter | Type | Description |
| --- | --- | --- |
| input | Stream | The stream. |
| baseUri | string | An absolute http(s) or file URI, or about:blank. |

### Return Value

[HtmlSource](../)

### See Also

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