CImageView:GetImagePtr CImageView:GetIndex

CImageView:GetImageSet


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

Syntax

CImageSet = CImageSet:GetImageSet()

    On success, a new CImageSet is returned.

    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 fragment copies the image set from the object V to a CImageSet named S:

 

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

-- result: V count= 10

S:GetImageSet()

-- returns a new CImageSet

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

-- result: S count= 10

Related Topics

CImageView, CImageSet