SetClipboardImage()

Syntax

SetClipboardImage(#Image)
Description
Places a copy of the given #Image into the clipboard. If the clipboard currently contains an image then it will be overwritten.

An image is available for use with this function after being created with CreateImage()or loaded with LoadImage().

Return value

This function does not return any value.

Example:

  If CreateImage(0, 26, 20)
    StartDrawing(ImageOutput(0))
      Box(0, 0, 26, 20, RGB(255, 255, 255))
      Circle(13, 10, 5, RGB(255, 0, 0))
    StopDrawing()
    SetClipboardImage(0)
  EndIf

  ; now if you open a graphics application and paste the clipboard contents,
  ; you will see a Japanese flag ;-)

Supported OS

All

<- GetClipboardText() - Clipboard Index - SetClipboardText() -> ;--------------------------------------------------------------------------------------------------------