TPrinter.DoEnumFonts procedure
Performs actions needed to get a list of fonts supported for a print device.
Declaration
procedure DoEnumFonts(Lst: TStrings); virtualArguments
Lst | TStrings instance where the list of font names is stored. |
Description
DoEnumFonts is a virtual method used to perform actions needed to
populate the specified list with font names supported for the selected print
device. DoEnumFonts is called from the GetFonts method when the Fonts
property is empty.
In TPrinter, DoEnumFonts has an empty implementation. It must be overridden
in a descendent class to perform actions needed to get the list of font names
using the facilities available for the operating system / widgetset /
printer-related technology.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
