IKSlideShow.SetPDFDisplayBox
----------------------------

Sets the PDF display box which should be used to display PDFs.

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

MBS( "IKSlideShow.SetPDFDisplayBox"; display box ) 

**MBS**( **"IKSlideShow.SetPDFDisplayBox";** /\* Sets the PDF display box which should be used to display PDFs. \*/  
**$display box**) /\* The new display box value. \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| display box | The new display box value. |  |

### Result

The current display box value or an error message.

### Description

Sets the PDF display box which should be used to display PDFs.  
  
possible values:  
kPDFDisplayBoxMediaBox = 0  
kPDFDisplayBoxCropBox = 1  
kPDFDisplayBoxBleedBox = 2  
kPDFDisplayBoxTrimBox = 3  
kPDFDisplayBoxArtBox = 4  
### See also

- [IKSlideShow.GetPDFDisplayBox](IKSlideShowGetPDFDisplayBox.md)
- [IKSlideShow.GetPDFDisplayMode](IKSlideShowGetPDFDisplayMode.md)
- [IKSlideShow.GetPDFDisplaysAsBook](IKSlideShowGetPDFDisplaysAsBook.md)
- [IKSlideShow.SetPDFDisplayMode](IKSlideShowSetPDFDisplayMode.md)
- [IKSlideShow.SetPDFDisplaysAsBook](IKSlideShowSetPDFDisplaysAsBook.md)

This function is free to use.

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

  
[IKSlideShow.SetMode](IKSlideShowSetMode.md) - [IKSlideShow.SetPDFDisplayMode](IKSlideShowSetPDFDisplayMode.md)

[HTML Version](IKSlideShowSetPDFDisplayBox.shtml)