IKSlideShow.ItemAtIndex
-----------------------

Queries item at index.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [IKSlideShow](component_IKSlideShow.md) | [6.4](newinversion64.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |

MBS( "IKSlideShow.ItemAtIndex"; Index { ; FileName; Type } ) 

**MBS**( **"IKSlideShow.ItemAtIndex";** /\* Queries item at index. \*/  
**$Index**; /\* From 0 to [IKSlideShow.Count](IKSlideShowCount.md)-1.e.g. 0 \*/   
**$FileName**; /\* Optional; For PDF or image files returned an optional file name.e.g. "test.jpg" \*/   
**$Type**) /\* Optional; For images the type you like to get.  
Can be JPEG, TIFF, PNG, GIF, BMP or PDF.e.g. "JPEG" \*/ 

### Parameters

| Parameter | Description | Example | Flags |
|---|---|---|---|
| Index | From 0 to [IKSlideShow.Count](IKSlideShowCount.md)-1. | 0 |  |
| FileName | For PDF or image files returned an optional file name. | "test.jpg" | Optional |
| Type | For images the type you like to get.   Can be JPEG, TIFF, PNG, GIF, BMP or PDF. | "JPEG" | Optional |

### Result

Returns value or error.

### Description

Queries item at index.  
### Examples

Add an item and query it back:

 Set Variable \[$r ; Value:MBS ( "[IKSlideShow.AddURL](IKSlideShowAddURL.md)"; "http://www.mbsplugins.de/images/xdc2016.jpg" )\]  
Show Custom Dialog \["Count"; MBS ( "[IKSlideShow.Count](IKSlideShowCount.md)" )\]  
Show Custom Dialog \["First item"; MBS ( "IKSlideShow.ItemAtIndex"; 0 )\]  
### See also

- [IKSlideShow.Add](IKSlideShowAdd.md)
- [IKSlideShow.AddURL](IKSlideShowAddURL.md)
- [IKSlideShow.Count](IKSlideShowCount.md)
- [IKSlideShow.GetStartIndex](IKSlideShowGetStartIndex.md)
- [IKSlideShow.SetStartIndex](IKSlideShowSetStartIndex.md)

### Blog Entries

- [MBS FileMaker Plugin, version 6.4pr3](https://www.mbsplugins.de/archive/2016-08-08/MBS_FileMaker_Plugin_version_6/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 3th August 2016 , last changed 3th August 2016

  
[IKSlideShow.GetWrapAround](IKSlideShowGetWrapAround.md) - [IKSlideShow.Run](IKSlideShowRun.md)

[HTML Version](IKSlideShowItemAtIndex.shtml)