Picture.IndexedImage

From Xojo Documentation
Jump to: navigation, search
Property (As Picture)
The property is read-only.

PictureValue = aPicture.IndexedImage(Index as Integer)

Returns the image in the picture specified by the passed Index (0-based).

Example

This example gets the image referenced by the passed index and displays it in the ImageWell.

Dim pic As Picture
Dim f As FolderItem
f = GetOpenFolderItem("image/jpeg")
If f <> Nil Then
pic = Picture.Open(f)
ImageWell1.Image = pic.IndexedImage(1)
End If
Personal tools
Namespaces

Variants
Actions
Main
Content
Starting Out
Dig Deeper
More Help
Toolbox
About