Sign in Join
FPDoc Onlineexperiment

TWidgetSet.EnumFontFamilies function

Member of TWidgetSetpublicIn unit InterfaceBase

Invokes a callback function for every font available on a specified device.

Declaration

pascal
function EnumFontFamilies(DC: HDC; Family: Pchar; 
 EnumFontFamProc: FontEnumProc; LParam: Lparam)
: LongInt; virtual

Arguments

DC

The device context.

Family

The font family name, empty for all families.

EnumFontFamProc

The callback function.

LParam

Data passed to the callback function.

Function result

The last value returned by the callback function.

Description

Nothing more than the line above yet.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.