[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Assign - copies details from Source according to data type.
Source position: graphics.pp line 1297
public procedure TRasterImage.Assign( |
Source: TPersistent |
); override; |
Source |
|
Persistent object with values copied in the method. |
Assign is a procedure used to copy values from the specified TPersistent object into the current class instance. Assign is overridden to handle using a TRasterImage or TFPCustomImage instance in the Source parameter.
No actions are performed in the method when Source is the same class instance as the current class instance (Self).
When Source is a TRasterImage instance, the following actions are performed:
When Source is a TFPCustomImage instance, the following actions are performed:
For other TPersistent descendants, the inherited method is called using Source as an argument.
|
Implements object persistence for the TGraphic type. |
Version 4.0 | Generated 2025-05-03 | Home |