Welcome to Pauls PureProject
 Home Online Reference Guide duplicated from http://cvs.purebasic.com  
 Online Resources
   · Reference

 Libraries
     2DDrawing
     Billboard
     Camera
     CDAudio
     Cipher
     Clipboard
     Console
     Database
     Date
     Desktop
     Engine3D
     Entity
     File
     FileSystem
     Font
     Gadget
     Help
     Image
     ImagePlugin
     Joystick
     Keyboard
     Library
     Light
     LinkedList
     Material
     Math
     Memory
     Menu
     Mesh
     Misc
     Module
     Mouse
     Movie
     Network
     OnError
     Packer
     Palette
     Particle
     Preference
     Printer
     Requester
     Sort
     Sound
     SoundPlugin
     Sprite
     Sprite3D
     StatusBar
     String
     SysTray
     Terrain
     Texture
     Thread
     Toolbar
     Window

 GetClipboardData

Syntax

Data = GetClipboardData(Datatype)
Description
Returns a copy of the data currently contained in the clipboard (if there is any).

Parameters

DataType - The type of data you want to copy from the clipboard. This can be one of the following values:
  #PB_ClipboardImage: the data which is returned is the ImageID of a previously pasted picture. This
  means you can use it wherever an 'ImageID' is required by PureBasic commands, such as DrawImage().

Return value

Data - The return value depends on the type of data you are reading. If this value is zero then there is no data (or no data of that type) in the clipboard.

Supported OS

Windows, AmigaOS

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



Hosted by Reel Media Productions Copyright©2001-2004 All Rights Reserved