FontFactory.Open

Open(FontDefinition)

使用 FontDefinition 对象打开字体。

public Font Open(FontDefinition fontDefinition)
参数类型描述
fontDefinitionFontDefinition字体定义对象。

返回值

字体已加载。

另见


Open(FontType, StreamSource)

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

public Font Open(FontType fontType, StreamSource fontStreamSource)
参数类型描述
fontTypeFontType字体类型。
fontStreamSourceStreamSource字体的流来源。

返回值

字体已加载。

另见


Open(FontType, string)

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

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

返回值

字体已加载。

另见


Open(FontType, byte[])

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

public Font Open(FontType fontType, byte[] fontData)
参数类型描述
fontTypeFontType字体类型。
fontDataByte[]用于加载字体的字节数组。

返回值

字体已加载。

另见