Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxCustomSmartImage.SetBitmap(TBitmap) Method

Store the specified bitmap within the Smart Image object.

#Declaration

Delphi
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