## StreamSource class


Defines a way to get a file stream when it is needed.

```cpp
class StreamSource : public System::Object
```

## Methods

| Method | Description |
| --- | --- |
| virtual [Clone](./clone/)() | Clones the stream source object. |
| [get_Offset](./get_offset/)() const | Gets offset inside the source. |
| virtual [GetFontStream](./getfontstream/)() | Returns [Font](../../aspose.font/font/) stream. |
| virtual [MustCloseAfterUse](./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. |
| [set_Offset](./set_offset/)(int64_t) | Sets offset inside the source. |
| [StreamSource](./streamsource/)() | Initializes stream source instance. |
## See Also

* Class [Object](../../system/object/)
* Namespace [Aspose::Font::Sources](../)
* Library [Aspose.Font for C++](../../)
