Open

Open(string, FontType)

Returns FontDefinition for font file and font type.

public static FontDefinition Open(string fileName, FontType fontType)
Parameter Type Description
fileName String Font file name.
fontType FontType Font type.

Return Value

FontDefinition.

See Also


Open(StreamSource, FontType)

Returns FontDefinition for font stream source and font type.

public static FontDefinition Open(StreamSource source, FontType fontType)
Parameter Type Description
source StreamSource Font stream source.
fontType FontType Font type.

Return Value

FontDefinition.

See Also