METAFILE_TO_CLIPBOARD@

Platform

Win32, x64

Purpose

To send a metafile to the clipboard.

Syntax

INTEGER FUNCTION METAFILE_TO_CLIPBOARD@( ) 

Description

This function can be used after a call to OPEN_METAFILE@ followed by calls to graphics drawing routines. It causes the image to be stored on the clipboard in metafile format. Alternatively, if the %gr (Graphics Region) option metafile_resize is used, this function can be used to send the resulting metafile to the clipboard.

Return value

Returns 1 for success or zero for failure.

Notes

If a background colour is specified for %gr (Graphics Region) (e.g. %gr[black]), this information is not recorded in the metafile.

See also

OPEN_METAFILE@, CLOSE_METAFILE@, PLAY_CLIPBOARD_METAFILE@

 

 

Basket
Empty
 
Copyright © 1999-2024 Silverfrost Limited