Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


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 is free to use.

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

Plugin.SetFunctions - Plugin.SetSuccessReturn