Open
内容
[
隐藏
]Open(FontDefinition)
打开字体,使用 FontDefinition 对象。
public static Font Open(FontDefinition fontDefinition)
范围 | 类型 | 描述 |
---|---|---|
fontDefinition | FontDefinition | 字体定义对象。 |
返回值
字体已加载。
也可以看看
- class FontDefinition
- class Font
- 命名空间 Aspose.Font
- 部件 Aspose.Font
Open(FontType, StreamSource)
打开字体,使用字体类型和流源。
public static Font Open(FontType fontType, StreamSource fontStreamSource)
范围 | 类型 | 描述 |
---|---|---|
fontType | FontType | 字体类型。 |
fontStreamSource | StreamSource | 字体的流源。 |
返回值
字体已加载。
也可以看看
- enum FontType
- class StreamSource
- class Font
- 命名空间 Aspose.Font
- 部件 Aspose.Font
Open(FontType, string)
使用字体类型和字体文件名打开字体。
public static Font Open(FontType fontType, string fileName)
范围 | 类型 | 描述 |
---|---|---|
fontType | FontType | 字体类型。 |
fileName | String | 字体文件名。 |
返回值
字体已加载。
也可以看看
- enum FontType
- class Font
- 命名空间 Aspose.Font
- 部件 Aspose.Font
Open(FontType, byte[])
打开字体,使用字体类型和字体数据字节数组。
public static Font Open(FontType fontType, byte[] fontData)
范围 | 类型 | 描述 |
---|---|---|
fontType | FontType | 字体类型。 |
fontData | Byte[] | 要从中加载字体的字节数组。 |
返回值
字体已加载。
也可以看看
- enum FontType
- class Font
- 命名空间 Aspose.Font
- 部件 Aspose.Font