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

WebView.GetWidth

Queries the width of the WebViewer.

Component Version macOS Windows Linux Server iOS SDK
WebView 15.5 ✅ Yes ✅ Yes ❌ No ✅ Yes, on macOS and Windows ❌ No
MBS( "WebView.GetWidth"; WebViewerRef )   More

Parameters

Parameter Description Example
WebViewerRef Either the Web Viewer Object Name or the Web Viewer ID as returned by "WebView.FindByName" function.

Result

Returns number or error.

Description

Queries the width of the WebViewer.
Value returned in points.

See also

Release notes

  • Version 15.5
    • Added WebView.GetHeight, WebView.GetWidth, WebView.SetHeight and WebView.SetWidth functions.

Blog Entries

This function checks for a license.

Created 4th October 2025, last changed 4th October 2025


WebView.GetUsePrivateBrowsing - WebView.GetZoom