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


Queries print parameters.

Component Version macOS Windows Linux Server iOS SDK
WebView 2.1 ✅ Yes ✅ Yes ❌ No ❌ No ❌ No
MBS( "WebView.GetPrintParameter"; ParameterName )   More


Parameter Description Example
ParameterName The name of the parameter.
For MacOS, can be horizontallyCentered, verticallyCentered, showPrintPanel, orientation, printer, bottomMargin, topMargin, leftMargin or rightMargin.


Returns a boolean value for horizontallyCentered, verticallyCentered and showPrintPanel. Returns "portrait" or "landscape" for orientation. Returns name for printer. Returns a number for bottomMargin, topMargin, leftMargin or rightMargin.


Queries print parameters.
Version 10.3 adds iOS support with settings for orientation and JobName.

Parameters for iOS: jobName and orientation.
Parameters for Windows with Edge: orientation, shouldPrintBackgrounds, paperWidth, paperHeight, bottomMargin, topMargin, leftMargin and rightMargin.
Parameters for macOS with WebKit 2: horizontallyCentered, verticallyCentered, showPrintPanel, orientation, papername, printer, paperWidth, paperHeight, bottomMargin, topMargin, leftMargin, rightMargin, shouldPrintBackgrounds and MinimumFontSize.


Queries bottom margin:

MBS("WebView.GetPrintParameter"; "bottomMargin")

See also

Release notes

Blog Entries

This function checks for a license.

Created 18th August 2014, last changed 12nd February 2024

WebView.GetPreferences - WebView.GetPrivateBrowsing