CImage:Open
The Open method loads an image from a file and attaches it to the CImage object. The image should be removed from memory using the class methods Close or delete.
bResult = CImage:Open( sPath ) |
sPath is the full path specification of the image file.
On success, this method returns true.
On failure, this method returns false.
Suppose an image file exists with a full path named sPath:
|
-- create a CImage object |
|
-- open the image from path sPath. |
|
-- if not opened, then... |
|
-- leave the script, etc. |
|
-- end of if block |
|
-- do something |
|
-- when done with I, remove it from memory |
CImage class, Create, Close, attachlist_image
Mira Pro x64 Script User's Guide, v.8.73 Copyright Ⓒ 2024
Mirametrics, Inc. All Rights Reserved.