Open
Open(string, FontType)
返回字体文件和字体类型的 FontDefinition。
public static FontDefinition Open(string fileName, FontType fontType)
| 范围 | 类型 | 描述 |
|---|---|---|
| fileName | String | 字体文件名。 |
| fontType | FontType | 字体类型。 |
返回值
字体定义。
也可以看看
- enum FontType
- class FontDefinition
- 命名空间 Aspose.Font.Sources
- 部件 Aspose.Font
Open(StreamSource, FontType)
返回字体流源和字体类型的 FontDefinition。
public static FontDefinition Open(StreamSource source, FontType fontType)
| 范围 | 类型 | 描述 |
|---|---|---|
| source | StreamSource | 字体流源。 |
| fontType | FontType | 字体类型。 |
返回值
字体定义。
也可以看看
- class StreamSource
- enum FontType
- class FontDefinition
- 命名空间 Aspose.Font.Sources
- 部件 Aspose.Font