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:
10.1
10.2
10.3
10.4
10.5
11.0
11.1
11.2
11.3
11.4
Statistic
FMM
Blog
Queries WebView preferences parameters.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
WebView | 2.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |
Parameter | Description | Example |
---|---|---|
WebViewerRef | Either the Web Viewer Object Name or the Web Viewer ID as returned by "WebView.FindByName" function. | "web" |
ParameterName | The name of the parameter. | isJavaEnabled |
Returns a boolean value for allowsAnimatedImageLooping, allowsAnimatedImages, javaEnabled, javaScriptCanOpenWindowsAutomatically, javaScriptEnabled, loadsImagesAutomatically, plugInsEnabled, privateBrowsingEnabled, shouldPrintBackgrounds, tabsToLinks, userStyleSheetEnabled and usesPageCache; a number for cacheModel, defaultFixedFontSize, defaultFontSize, minimumFontSize or minimumLogicalFontSize; a string for cursiveFontFamily, defaultTextEncodingName, fantasyFontFamily, fixedFontFamily, sansSerifFontFamily, serifFontFamily or standardFontFamily.
Queries setting for background printing:
MBS("WebView.GetPreferences"; "shouldPrintBackgrounds")
Query developer extras enabled state for webviewer:
Set Variable [$r; Value:MBS("Webview.GetPreferences"; "web"; "developerExtrasEnabled")]
Set developer extras enabled state for webviewer:
Set Variable [$r; Value:MBS("WebView.SetPreferences"; "web"; "developerExtrasEnabled"; 1)]
Created 18th August 2014, last changed 24th November 2020
WebView.GetPlainText - WebView.GetPrintParameter
Feedback: Report problem or ask question.