Declaration ​
pascal
procedure Assign(Source: TPersistent); override;Parameters ​
| Parameter | Type | Description |
|---|---|---|
Source | TPersistent | Source object (typically another TCustomBitmap32 or TGraphic) to copy from. |
Description ​
Assign copies pixel data, dimensions, drawing parameters, and active settings from Source into this bitmap.
If Source is another TCustomBitmap32, Assign resizes this bitmap, copies pixel buffer memory, and copies drawing properties (DrawMode, CombineMode, MasterAlpha, OuterColor, WrapMode, ClipRect).
Example ​
pascal
DstBitmap.Assign(SrcBitmap);