TDBImage.DoCopyToClipboard procedure
Implements the clipboard Copy (Ctrl+C) command.
Declaration
procedure DoCopyToClipboardDescription
DoCopyToClipboard is a procedure used to implement the clipboard
Copy (
Ctrl+C) command. DoCopyToClipboard assigns the
Picture in the control to the
Clipboard for the
application.
For the Windows platform, the TBitmap format is expected in
Picture. For all other platforms, the TPortableNetworkGraphic
format is expected. DoCopyToClipboard calls the AddFormat method
in Clipboard when needed. If Picture uses a Graphic format other
than expected, it is written to a memory stream and loaded into the Clipboard
using the newly registered graphic format.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
