QLPreviewPanel.Resize
---------------------

Resizes the panel.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [QuickLook](component_QuickLook.md) | [4.3](newinversion43.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |

MBS( "QLPreviewPanel.Resize"; Width; Height { ; NoAnimation; Duration } ) 

**MBS**( **"QLPreviewPanel.Resize";** /\* Resizes the panel. \*/  
**$Width**; /\* The new width of the panel.e.g. 600 \*/   
**$Height**; /\* The new height of the panel.e.g. 500 \*/   
**$NoAnimation**; /\* Optional; Whether to avoid animation. Pass 1 to disable animation. Default is 0 to allow animation.e.g. 0 \*/   
**$Duration**) /\* Optional; Only for Mac: the duration. Can be a value between 0.1 and 5.0.e.g. 0.5 \*/ 

### Parameters

| Parameter | Description | Example | Flags |
|---|---|---|---|
| Width | The new width of the panel. | 600 |  |
| Height | The new height of the panel. | 500 |  |
| NoAnimation | Whether to avoid animation. Pass 1 to disable animation. Default is 0 to allow animation. | 0 | Optional |
| Duration | Only for Mac: the duration. Can be a value between 0.1 and 5.0. | 0.5 | Optional |

### Result

Returns OK or error.

### Description

Resizes the panel.  
### See also

- [QLPreviewPanel.AddFile](QLPreviewPanelAddFile.md)
- [QLPreviewPanel.AddPDF](QLPreviewPanelAddPDF.md)
- [QLPreviewPanel.GetLeft](QLPreviewPanelGetLeft.md)
- [QLPreviewPanel.GetTop](QLPreviewPanelGetTop.md)
- [QLPreviewPanel.GetWidth](QLPreviewPanelGetWidth.md)
- [QLPreviewPanel.Hide](QLPreviewPanelHide.md)
- [QLPreviewPanel.IsVisible](QLPreviewPanelIsVisible.md)
- [QLPreviewPanel.Move](QLPreviewPanelMove.md)

### Blog Entries

- [MBS Filemaker Plugin, version 4.4pr7](https://www.mbsplugins.de/archive/2014-10-27/MBS_Filemaker_Plugin_version_4/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 18th August 2014 , last changed 12nd July 2015

  
[QLPreviewPanel.Move](QLPreviewPanelMove.md) - [QLPreviewPanel.SavedFiles](QLPreviewPanelSavedFiles.md)

[HTML Version](QLPreviewPanelResize.shtml)