TdxCustomSmartImage.PasteFromClipboard Method
Set the image within the clipboard as the stored image.
Declaration
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