Silverfrost Logo About Us | Contact Us
 

METAFILE_TO_CLIPBOARD@

Platform

Win32(ClearWin+)

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 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 (e.g. %gr[black]), this information is not recorded in the metafile.

See also

OPEN_METAFILE@, CLOSE_METAFILE@, PLAY_CLIPBOARD_METAFILE@

 

 

Copyright © 1999-2017 Silverfrost Limited