Sign in Join
FPDoc Onlineexperiment

TGraphic.Assign procedure

Member of TGraphicpublicIn unit Graphics

Implements object persistence for the TGraphic type.

Declaration

pascal
procedure Assign(ASource: TPersistent); override

Arguments

ASource

Persistent object with property values copied in the method.

Description

Assign is an overridden method in TGraphic. It ensures that the inherited Assign method is not called if the object instance in ASource has not been assigned. If ASource contains Nil, the Clear method is called. If ASource has an assigned value, the inherited Assign method is called to copy property values from ASource into the current class instance.

See also

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