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.

Parameters

#Image The image to put into the clipboard.

Return value

None.

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 ;-)

See Also

SetClipboardText(), ClearClipboard()

Supported OS

All

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