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

In This Article

Set the image within the clipboard as the stored image.

#Declaration

Delphi
procedure PasteFromClipboard;

#Remarks

The CopyToClipboard, CutToClipboard, and PasteFromClipboard procedures are designed to transfer image data between the Smart Image object and the clipboard.

You can call the PasteFromClipboard procedure to assign the current clipboard content as the Smart Image object’s stored image, provided that the format of the image within the clipboard is on the supported list, including:

  • BMP (dxImageBitmap);

  • GIF (dxImageGif);

  • JPEG (dxImageJpeg);

  • PNG (dxImagePng);

  • TIFF (dxImageTiff).

To identify if at least one of the clipboard image formats is available, you can call the HasClipboardFormat function.

See Also