类 ByteContentStreamSource
ByteContentStreamSource class
表示基于内容流的流源。
public class ByteContentStreamSource : StreamSource
构造函数
| 名称 | 描述 |
|---|---|
| ByteContentStreamSource(byte[]) | 初始化新的 ByteContentStreamSource 对象。 |
属性
| 名称 | 描述 |
|---|---|
| Offset { get; set; } | 获取或设置源内部的偏移量。 |
方法
| 名称 | 描述 |
|---|---|
| override Clone() | 克隆 ByteContentStreamSource 对象。 |
| override GetFontStream() | 返回字体文件流。使用后请记得关闭流。 |
| virtual MustCloseAfterUse() | 子类可能会阻止流关闭。如果流源希望在使用后关闭流,则返回 true;否则返回 false。 |
另见
- class StreamSource
- namespace Aspose.Font.Sources
- assembly Aspose.Font