Unit 'Graphics' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#lcl]

TFontData

Contains information about a font used in an application.

Declaration

Source position: graphics.pp line 82

type TFontData = record

  Handle: HFONT;

  

The Operating System Handle for the Font.

  Height: Integer;

  

The Height (in pixels) for the Font.

  Pitch: TFontPitch;

  

The Pitch (layout style) for the Font.

  Style: TFontStylesbase;

  

The Style (or variant) for the Font.

  CharSet: TFontCharSet;

  

The character set for a Font as an Integer value.

  Quality: TFontQuality;

  

Output quality for the font.

  Name: TFontDataName;

  

The Name (as a string) of the current Font.

  Orientation: Integer;

end;

Description

TFontData is a record type used to hold information about a font in an application. It provides access to the system handle for the font, as well as attributes for the font. Values in the record are read from the font file when its handle is assigned, or when the default font from the widgetset interface is assigned.

TFontData is the type used to implement the FontData property in TFont.

See also

TFont.FontData

  

Contains the data describing the font.

DefFontData

  

Default font data used for new TFont instances.