Difference between revisions of "COPYIMAGE"

From QB64 Wiki
Jump to navigation Jump to search
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…')
 
imported>Clippy
Line 8: Line 8:
  
 
* Handle& copies any image handle to a new handle value.
 
* Handle& copies any image handle to a new handle value.
* Returns a copy handle of - 1 if copy fails.
+
* Returns a copy handle value of - 1 if copy fails.
 
* Valid copy handles are less than -1.
 
* Valid copy handles are less than -1.
 
* If handle parameter is omitted, the current destination is copied.
 
* If handle parameter is omitted, the current destination is copied.

Revision as of 07:16, 29 August 2009

_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 value 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