GetClipboardImage()

语法

Result = GetClipboardImage(#Image [, Depth])
概要
Creates a new image from the clipboard image data (if any).

参数

#Image The number for the new image. #PB_Any can be used to auto-generate this number.
Depth (optional) The depth of the new image. Valid values are 24 (default) or 32-bit.

返回值

Returns nonzero on success and zero on failure. If #PB_Any was used as the #Image parameter then the new image number is returned.

Remarks

The image may be freed by using the FreeImage() function. For further use of the image, there are functions available such as DrawImage() or ImageGadget().

参阅

GetClipboardText()

已支持操作系统

所有

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