FontFactory.Open
内容
[
隐藏
]Open(FontDefinition)
使用 FontDefinition 对象打开字体。
public Font Open(FontDefinition fontDefinition)
| 参数 | 类型 | 描述 |
|---|---|---|
| fontDefinition | FontDefinition | 字体定义对象。 |
返回值
字体已加载。
另见
- class Font
- class FontDefinition
- class FontFactory
- namespace Aspose.Font
- assembly Aspose.Font
Open(FontType, StreamSource)
使用字体类型和流源打开字体。
public Font Open(FontType fontType, StreamSource fontStreamSource)
| 参数 | 类型 | 描述 |
|---|---|---|
| fontType | FontType | 字体类型。 |
| fontStreamSource | StreamSource | 字体的流来源。 |
返回值
字体已加载。
另见
- class Font
- enum FontType
- class StreamSource
- class FontFactory
- namespace Aspose.Font
- assembly Aspose.Font
Open(FontType, string)
使用字体类型和字体文件名打开字体。
public Font Open(FontType fontType, string fileName)
| 参数 | 类型 | 描述 |
|---|---|---|
| fontType | FontType | 字体类型。 |
| fileName | String | 字体文件名。 |
返回值
字体已加载。
另见
- class Font
- enum FontType
- class FontFactory
- namespace Aspose.Font
- assembly Aspose.Font
Open(FontType, byte[])
使用字体类型和字体数据字节数组打开字体。
public Font Open(FontType fontType, byte[] fontData)
| 参数 | 类型 | 描述 |
|---|---|---|
| fontType | FontType | 字体类型。 |
| fontData | Byte[] | 用于加载字体的字节数组。 |
返回值
字体已加载。
另见
- class Font
- enum FontType
- class FontFactory
- namespace Aspose.Font
- assembly Aspose.Font