Open

Open(FontDefinition)

打开字体,使用 FontDefinition 对象。

public static Font Open(FontDefinition fontDefinition)
范围类型描述
fontDefinitionFontDefinition字体定义对象。

返回值

字体已加载。

也可以看看


Open(FontType, StreamSource)

打开字体,使用字体类型和流源。

public static Font Open(FontType fontType, StreamSource fontStreamSource)
范围类型描述
fontTypeFontType字体类型。
fontStreamSourceStreamSource字体的流源。

返回值

字体已加载。

也可以看看


Open(FontType, string)

使用字体类型和字体文件名打开字体。

public static Font Open(FontType fontType, string fileName)
范围类型描述
fontTypeFontType字体类型。
fileNameString字体文件名。

返回值

字体已加载。

也可以看看


Open(FontType, byte[])

打开字体,使用字体类型和字体数据字节数组。

public static Font Open(FontType fontType, byte[] fontData)
范围类型描述
fontTypeFontType字体类型。
fontDataByte[]要从中加载字体的字节数组。

返回值

字体已加载。

也可以看看