Vcl.Printers.TPrinter.Fonts

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Fonts: TStrings read GetFonts;

C++

__property System::Classes::TStrings* Fonts = {read=GetFonts};

Properties

Type Visibility Source Unit Parent
property public
Vcl.Printers.pas
Vcl.Printers.hpp
Vcl.Printers TPrinter

Description

Lists the fonts supported by the current printer.

Read Fonts to get a list of the fonts supported by the printer. Each string in Fonts is the name of a typeface.

Fonts contains TrueType fonts even if the printer doesn't support them natively because the Windows Graphics Device Interface (GDI) can draw TrueType fonts accurately when a print job uses them.

See Also