CImageSet:Copy
The Copy method duplicates the CImageSet and returns the new copy.
CImageSet = CImageSet:Copy() |
The following fragment duplicates the image set. Note that the CImage objects are not closed after the loop in this example, so they may be used afterward. They should be closed before exiting the script.
|
-- create a CImageSet |
|
-- create a CImage |
|
|
|
-- use the Open dialog to get a filename |
|
-- exit the loop after canceling the Open dialog |
|
-- load the image |
|
-- add the CImage to the set |
|
|
|
-- create a duplicate CImageSet T |
Mira Pro x64 Script User's Guide, v.8.73 Copyright Ⓒ 2024
Mirametrics, Inc. All Rights Reserved.