Method Create

Namespace TallComponents.PDF.Fonts
Class Font

Tries to find the first matching font.

First the additionalFontFolders (from left to right if multiple are specified) will be searched; if this doesn't result in any font, the windows folder will be tried.

Syntax

public  Font  Create( String  familyName Boolean  bold Boolean  italic String  additionalFontFolders )

Returns

Font

The font or null if none found.

Parameters


String familyName
The font family to look for.

Boolean bold
True if a bold font needs to be resolved.

Boolean italic
True if a bold font needs to be resolved.

String additionalFontFolders
One or more paths (semicolon [;] seperated) to folder(s) with TTF documents.