Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 11.4   11.5   12.0   12.1   12.2   12.3   12.4   12.5   13.0   13.1    Statistic    FMM    Blog  


Sets which size plugin uses for preview images.

Component Version macOS Windows Linux Server iOS SDK
Plugin 5.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "Plugin.SetPreviewSize"; Size )   More


Parameter Description Example
Size The size for width and height to use for generating previews. Default is 600. 600


Returns OK or error.


Sets which size plugin uses for preview images.
When plugin returns PDF or Image, we add JPEG preview.
e.g. in DynaPDF, PDFKit and GraphicsMagick functions.

With version 11.5 or later, you can set this to -1 to disable preview generation.


Set size for previews:

MBS( "Plugin.SetPreviewSize"; 1234 )

See also

Release notes

Example Databases

Blog Entries

This function does not need a paid license.

Created 9th March 2015, last changed 4th October 2021

Plugin.SetFunctions - Plugin.SetSuccessReturn

💬 Ask a question or report a problem

Start Chat