GetFontData function
Gets font data for the specified font handle.
Declaration
function GetFontData(Font: HFont): TFontDataArguments
Font | Font handle with the logical font data read in the routine. |
Function result
TFontData structure with values read in the routine.
Description
Values from DefFontData are assigned as the default return value
for the routine. No additional actions are performed in the routine when
Font contains 0 (for an unassigned font handle). When the
font handle is valid, the following members in the return value are updated:
- Name
- Height
- Style
- CharSet
- Pitch
- Orientation
- Handle
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
