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.Dormant Method

In This Article

Releases the handle associated with the stored image data.

#Declaration

Delphi
procedure Dormant;

#Remarks

This procedure works similarly to the Dormant procedure provided by the TBitmap class. The Dormant procedure is particularly helpful if you need to manage multiple Smart Image objects in order to reduce the amount of GDI resources used by your application.

Call the Dormant procedure to save the stored image data into a temporary buffer and release the image’s handle. To restore the suspended Smart Image object, call the HandleNeeded procedure.

If the HandleAllocated property returns False, calling the Dormant procedure has no effect.

See Also