IKSlideShow.AddPath
-------------------

Adds a slide.

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

MBS( "IKSlideShow.AddPath"; Path ) 

**MBS**( **"IKSlideShow.AddPath";** /\* Adds a slide. \*/  
**$Path**) /\* The native file path to the image file.e.g. "/Users/test/Images/test.jpg" \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Path | The native file path to the image file. | "/Users/test/Images/test.jpg" |

### Result

Returns the number of slides added or an error message.

### Description

Adds a slide.  
The file can contain an image (GIF, PNG, BMP, JPEG) or an image file (TIFF, BMP, PNG, JPEG and other formats supported by macOS)  
Sets mode to images.  
  
This function requires a native path. Use [Path.FileMakerPathToNativePath](PathFileMakerPathToNativePath.md) to convert a FileMaker path to a native path if required. If you like to have the user choose the path, you can use [FileDialog](component_FileDialog.md) functions.  
### See also

- [IKSlideShow.Add](IKSlideShowAdd.md)
- [IKSlideShow.AddImage](IKSlideShowAddImage.md)
- [IKSlideShow.AddPDF](IKSlideShowAddPDF.md)
- [IKSlideShow.AddURL](IKSlideShowAddURL.md)
- [Path.FileMakerPathToNativePath](PathFileMakerPathToNativePath.md)

### Blog Entries

- [MBS Filemaker Plugin, version 3.2pr7](https://www.mbsplugins.de/archive/2013-04-16/MBS_Filemaker_Plugin_version_3/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 18th August 2014 , last changed 10th August 2020

  
[IKSlideShow.AddPDF](IKSlideShowAddPDF.md) - [IKSlideShow.AddURL](IKSlideShowAddURL.md)

[HTML Version](IKSlideShowAddPath.shtml)