Skip to main content

TdxCustomSmartImage.SetBitmap(TBitmap) Method

Store the specified bitmap within the Smart Image object.

Declaration

procedure SetBitmap(ABitmap: TBitmap); virtual;

Parameters

Name Type
ABitmap TBitmap

Remarks

You can call this procedure in order to assign a new stored image, i.e., as an alternative to using the LoadFromBits, LoadFromClipboardFormat, or LoadFromStream methods. Pass the bitmap used as the stored image source as the ABitmap parameter.

SetBitmap is called internally by the ConvertToBitmap and LoadFromClipboardFormat procedures.

See Also