Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter FifteenWindows/OS Functions (continued)

ClipboardGetJPG Function

Overview

The ClipboardGetJPG function retrieves JPEG data from the clipboard, if available, in the form of a Data Object.

Syntax/Parameters

Syntax

handle = ClipboardGetJPG ( [handle hClipboard] );

Parameters

hClipboard

An optional handle specifying an open Clipboard Object. If a handle is not specified, or specified as NULL_HANDLE, the default clipboard is open. If a Clipboard Object is open, it is automatically selected, and, if no object is open, a new object is opened and then closed upon completion of the function.

Return Value

Returns a handle to a Data Object or a NULL_HANDLE on failure. Use the GetLastError function to retrieve error information. The handle should be released with the CloseHandle function.

Remarks

The data retrieved from the clipboard should be in JPEG format. Some applications may present poor quality JPEG data or claim JPEG is available and then not render data to the clipboard.

Related Functions

Platform Support

Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL

Legato IDE, Legato Basic