C# Класс Bloom.ToPalaso.FontInstaller

Helper class for installing fonts. To use this: the sourceFolder passed to InstallFont must be one that GetDirectoryDistributedWithApplication can find. It must contain the fonts you want to be sure are installed. It MUST also contain the installer program, "Install Bloom Literacy Fonts.exe", a renamed version of FontReg.exe (see below). The user will typically see a UAC dialog asking whether it is OK to run this program (if the fonts are not already installed).
Показать файл Открыть проект

Открытые методы

Метод Описание
InstallFont ( string sourceFolder, bool needsRestart = true ) : bool

Приватные методы

Метод Описание
AllFontsExist ( string sourcePath ) : bool

Описание методов

InstallFont() публичный статический Метод

public static InstallFont ( string sourceFolder, bool needsRestart = true ) : bool
sourceFolder string
needsRestart bool
Результат bool