Sign in Join
FPDoc Onlineexperiment

TFont.Assign procedure

Member of TFontpublicIn unit Graphics

Copies values from Source to the current class instance.

Declaration

pascal
procedure Assign(Source: TPersistent); override
procedure Assign(const ALogFont: TLogFont)

Description

Assign is an overridden method used to copy values from the specified Source into the current class instance. Overloaded variants are provided that allow the source to be a TPersistent instance (which is cast to TFont) or a TLogFont record instance.

See also

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.