FontCreate Method (String, Boolean, Boolean, String)

Tries to find the first matching font.

Namespace:  TallComponents.PDF.Fonts
Assembly:  TallComponents.PDF.Kit (in TallComponents.PDF.Kit.dll) Version:
public static Font Create(
	string familyName,
	bool bold,
	bool italic,
	string additionalFontFolders
One or more paths (semicolon [;] seperated) to folder(s) with TTF documents.

Return Value

Type: Font
The font or null if none found.
First the additionalFontFolders (from left to right if multiple are specified) will be used to find, if this doesn't result in any font, the windows folder will be tried.
See Also