IKSlideShow.SetMode
-------------------

Sets the mode for slideshow.

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

MBS( "IKSlideShow.SetMode"; Mode ) 

**MBS**( **"IKSlideShow.SetMode";** /\* Sets the mode for slideshow. \*/  
**$Mode**) /\* Can be images, PDF or mixed. \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Mode | Can be images, PDF or mixed. |  |

### Result

Returns OK on success.

### Description

Sets the mode for slideshow.  
A slideshow is in one of three modes. Our Add methods set the mode automatically, so you may need to use this method to set the mode you want after adding items.  
### Examples

Set mode to PDF:

 MBS ( "IKSlideShow.SetMode"; "pdf" )  
Set mode to Mixed:

 MBS ( "IKSlideShow.SetMode"; "Mixed" )  
### See also

- [IKSlideShow.GetMode](IKSlideShowGetMode.md)
- [IKSlideShow.SetScreen](IKSlideShowSetScreen.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)
- [MBS Filemaker Plugin, version 3.2pr7](https://www.mbsplugins.de/archive/2013-04-16/MBS_Filemaker_Plugin_version_3/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 18th August 2014 , last changed 1st August 2016

  
[IKSlideShow.SetAudioFile](IKSlideShowSetAudioFile.md) - [IKSlideShow.SetPDFDisplayBox](IKSlideShowSetPDFDisplayBox.md)

[HTML Version](IKSlideShowSetMode.shtml)