Sign in Join
FPDoc Onlineexperiment

TFont.Reference property

Member of TFontpublicIn unit Graphics

Reference - References made to this Font.

Declaration

pascal
property Reference: TWSFontReference read GetReference;

Description

Reference is a read-only TWSFontReference property which contains a reference to the widgetset class used for the font instance. It provides access to the Handle for the font resource, and is used in methods that need access to an existing font handle.

Resources for the property are allocated (when needed) and initialized by calling the ReferenceNeeded method. The resources are freed in the FreeReference method.

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