Link Search Menu Expand Document

FontFromFile Method (String, Single)

Creates a Bytescout.PDF.Font from the specified file.

Namespace:Bytescout.PDF
Assembly: Bytescout.PDF (in Bytescout.PDF.dll) Version: 3.5.1.1204-master
Syntax
public static Font FromFile(
	string fileName,
	float emSize
)

Parameters

fileName
Type: SystemString
A string that contains the name of the file from which to create the Bytescout.PDF.Font.
emSize
Type: SystemSingle
The em-size, in points, of the font.

Return Value

Type: Font
The Bytescout.PDF.Font this method creates.
See Also

Reference