FontCatalog
Ecng.Drawing
The TrueType fonts of a set of directories, found by the family names the fonts carry.
Propiedades
Installed
public static FontCatalog Installed { get; }
value = FontCatalog.Installed
The fonts installed on this machine.
Métodos
Resolve
public string Resolve(string family)
result = fontCatalog.Resolve(family)
Finds the file of a family, or of one of the families that usually stand in for it.
- family
- The family name as fonts state it, or the name of a font file without its extension.
Devuelve: The path of a font file; if the built-in font is to be used: neither the family nor a stand-in for it is here, or the built-in font itself is asked for and is not here.
Scan
public static FontCatalog Scan(IEnumerable<string> directories)
result = FontCatalog.Scan(directories)
Lists the TrueType outline fonts of the given directories and of everything below them.