CImageView:GetImageSet
The GetImageSet method returns a new CImageSet that references the images displayed in the CImageView.
CImageSet = CImageSet:GetImageSet() where |
CImageSet is a new CImageSet object. On failure, nil is returned.
This method copies the image set from the CImageView class into a new CImageSet object. You do not need to use CImageSet:new.
Suppose a CImageView exists with name V and that it displays 10 images. The following script copies the image set from the object V to a CImageSet named S:
|
-- result: V count= 10 |
|
-- returns a new CImageSet |
|
-- result: S count= 10 |