CImageView:GetImageSet


The GetImageSet method returns a new CImageSet that references the images displayed in the CImageView.

Syntax

CImageSet = CImageSet:GetImageSet()

bullet.gif    On success, a new CImageSet is returned.

bullet.gif    On failure, nil is returned.

Remarks

This method copies the image set from the CImageView class into a CImageSet object.

Example

Suppose a CImageView exists with name V and that it displays 10 images. The following script copies the image set from the CImageView object V to a CImageSet object S:

Printf("V count= %d images", V:Count() )

-- result: V count= 10 images

S = V:GetImageSet()

-- returns a new CImageSet object, S

Printf("S count= %d images", S:Count() )

-- result: S count= 10 images

Related Topics

CImageView, CImageSet


Mira Pro x64 Script User's Guide, Copyright Ⓒ 2023 Mirametrics, Inc. All Rights Reserved.