TByteMap.Assign

procedure Assign(Source: TPersistent); override;

Description

Copies data from another object, specified by the Source parameter.

This method supports following classes:

TByteMap also overrides the protected AssignTo method, making it possible to assign bitmaps from byte maps, so that both following lines are correct:

ByteMap.Assign(Bitmap32); // an analog to BM := Intensity(B32);

Bitmap32.Assign(ByteMap); // an analog to B32 := Gray32(BM);

See Also

TByteMap, ReadFrom