COPYIMAGE

From QB64 Wiki
Revision as of 07:15, 29 August 2009 by imported>Clippy (Created page with ''''_COPYIMAGE''' Duplicates an image handle. ''Syntax:'' copyhandle& = _COPYIMAGE& [(handle AS LONG)] * Handle& copies any image handle to a new handle value. * Returns a c…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

_COPYIMAGE Duplicates an image handle.



Syntax: copyhandle& = _COPYIMAGE& [(handle AS LONG)]


  • Handle& copies any image handle to a new handle value.
  • Returns a copy handle of - 1 if copy fails.
  • Valid copy handles are less than -1.
  • If handle parameter is omitted, the current destination is copied.
  • Every attribute of the passed image is copied.


Example:


See also: _LOADIMAGE, _NEWIMAGE