MemoryFontSource

MemoryFontSource

概述

MemoryFontSource 是 Aspose.PDF FOSS 中用于 .NET 的一个类。继承自:FontSource、IDisposable。

一个由内存中字节缓冲区支撑的字体源。

此类提供 4 个方法,用于在 .NET 程序中处理 MemoryFontSource 对象。可用的方法包括:Dispose、Equals、GetHashCode、MemoryFontSource。安装 Aspose.PDF FOSS(用于 .NET)包后,所有公共成员均可被任何 .NET 应用访问。属性:FontBytes。

属性

名称类型访问描述
FontBytesbyte[]读取用于支持此源的原始字体字节。

方法

签名描述
MemoryFontSource(fontBytes: byte[])在此 MemoryFontSource 实例上调用 MemoryFontSource(fontBytes)。
Equals(obj: object?)当两个源包装相同的字节数组引用时相等。
GetHashCode()在此 MemoryFontSource 实例上调用 GetHashCode。
Dispose()空操作:FOSS 不为内存来源持有本机句柄。

另请参阅

 中文