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.LoadFromClipboardFormat(Word,THandle,HPALETTE) Method

Loads an image from the clipboard.

#Declaration

Delphi
procedure LoadFromClipboardFormat(AFormat: Word; AData: THandle; APalette: HPALETTE); override;

#Parameters

Name Type
AFormat Word
AData THandle
APalette HPALETTE

#Remarks

Call this procedure to load an image to the Smart Image object from the registered clipboard format whose index is passed as the AFormat parameter. Pass the handle to loaded image data and its palette as the AData and APalette parameters, respectively.

The LoadFromClipboardFormat procedure works similarly to the TBitmap‘s LoadFromClipboardFormat procedure.

Note

Call the IsSupportClipboardFormat class function to identify if a required clipboard format is supported.

See Also