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: 12.0   12.1   12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3    Statistic    FMM    Blog  

WebView.GetPrintParameter

Queries print parameters

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

Parameters

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

Result

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.

Description

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

Examples

Queries bottom margin:

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

See also

Release notes

Blog Entries

This function checks for a paid license.

Created 18th August 2014, last changed 29th April 2023


WebView.GetPreferences - WebView.GetPrivateBrowsing

💬 Ask a question or report a problem


Start Chat