SetClipboardImage()

Syntax

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

An image is available e.g. after creating with CreateImage() or loading with LoadImage().

Return value

This command 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 you open a graphic tool and paste the clipboard contents, 
  ; then you will see the japanese flag ;-)

Supported OS

Windows

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