FontFactory.Open

Open(FontDefinition)

Opens a font, using FontDefinition object.

public Font Open(FontDefinition fontDefinition)
ParameterTypeDescription
fontDefinitionFontDefinitionFont definition object.

Return Value

Font loaded.

See Also


Open(FontType, StreamSource)

Opens a font, using font type and stream source.

public Font Open(FontType fontType, StreamSource fontStreamSource)
ParameterTypeDescription
fontTypeFontTypeFont type.
fontStreamSourceStreamSourceStream source for font.

Return Value

Font loaded.

See Also


Open(FontType, string)

Opens a font, using font type and font file name.

public Font Open(FontType fontType, string fileName)
ParameterTypeDescription
fontTypeFontTypeFont type.
fileNameStringFont file name.

Return Value

Font loaded.

See Also


Open(FontType, byte[])

Opens a font, using font type and font data byte array.

public Font Open(FontType fontType, byte[] fontData)
ParameterTypeDescription
fontTypeFontTypeFont type.
fontDataByte[]Byte array to load font from.

Return Value

Font loaded.

See Also