## StreamSource class

Defines a way to get a file stream when it is needed.

```csharp
public abstract class StreamSource
```

## Constructors

| Name | Description |
| --- | --- |
| [StreamSource](streamsource/)() | Initializes stream source instance. |

## Properties

| Name | Description |
| --- | --- |
| [Offset](../../aspose.font.sources/streamsource/offset/) { get; set; } | Gets or sets offset inside the source. |

## Methods

| Name | Description |
| --- | --- |
| abstract [Clone](../../aspose.font.sources/streamsource/clone/)() | Clones the stream source object. |
| abstract [GetFontStream](../../aspose.font.sources/streamsource/getfontstream/)() | Returns Font stream. |
| virtual [MustCloseAfterUse](../../aspose.font.sources/streamsource/mustcloseafteruse/)() | The inheritors may prevent stream from closing. Returns true if the stream source wants the stream to be closed after use. Otherwise returns false. |

### See Also

* namespace [Aspose.Font.Sources](../../aspose.font.sources/)
* assembly [Aspose.Font](../../)


