## ByteContentStreamSource class

Represents a stream source based on content stream.

```csharp
public class ByteContentStreamSource : StreamSource
```

## Constructors

| Name | Description |
| --- | --- |
| [ByteContentStreamSource](bytecontentstreamsource/)(byte[]) | Initializes new `ByteContentStreamSource` object. |

## Properties

| Name | Description |
| --- | --- |
| [Offset](../../aspose.font.sources/streamsource/offset/) { get; set; } | Gets or sets offset inside the source. |

## Methods

| Name | Description |
| --- | --- |
| override [Clone](../../aspose.font.sources/bytecontentstreamsource/clone/)() | Clones the ByteContentStreamSource object. |
| override [GetFontStream](../../aspose.font.sources/bytecontentstreamsource/getfontstream/)() | Returns font file stream. Don't forget to close the stream after use. |
| 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

* class [StreamSource](../streamsource/)
* namespace [Aspose.Font.Sources](../../aspose.font.sources/)
* assembly [Aspose.Font](../../)


