[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Graphics' (#lcl)

TCustomBitmap.Assign

Copies values from the specified persistent object into the class instance.

Declaration

Source position: graphics.pp line 1423

public procedure TCustomBitmap.Assign(

  Source: TPersistent

); override;

Arguments

Source

  

Persistent object with values copied in the method.

Description

Assign is an overridden method in TCustomBitmap used to copy property values from the persistent object in Source into the current class instance. Assign calls the inherited method on entry using Source as an argument.

When Source is a TCustomBitmap descendant, values in its PixelFormat and PixelFormatNeedsUpdate members are copied into the members in the class instance.


Version 3.2 Generated 2024-02-25 Home