Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
QLPreviewPanel.Resize
Resizes the panel.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
QuickLook | 4.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |
MBS( "QLPreviewPanel.Resize"; Width; Height { ; NoAnimation; Duration } ) More
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
- QLPreviewPanel.AddPDF
- QLPreviewPanel.GetLeft
- QLPreviewPanel.GetTop
- QLPreviewPanel.GetWidth
- QLPreviewPanel.Hide
- QLPreviewPanel.IsVisible
- QLPreviewPanel.Move
Blog Entries
This function checks for a license.
Created 18th August 2014, last changed 12nd July 2015