Previous - imgFromScreen Section Home - Images Next - imgFromObject


imgFromClipboard ( )

Copies the image stored in the clipboard into Rosetta's image buffer

Usage:

imgFromClipboard (object me)

Returns:

(integer) - The success code

Example:

xtRose = xtra("Rosetta").new( )
xtRose.imgFromClipboard( )

Notes:

Rosetta can read several format registered in the clipboard. This includes CF_DIB, which is almost the universal image format in all Windows applications. In addition, if CF_DIB is not found, PNG, WMF, and EMF formats will be attempted.


Previous - imgFromScreen Section Home - Images Next - imgFromObject