WebView.GetWidth
----------------

Queries the width of the WebViewer.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [WebView](component_WebView.md) | [15.5](newinversion155.md) | ✅ Yes | ✅ Yes | ❌ No | ✅ Yes, on macOS and Windows | ❌ No |

MBS( "WebView.GetWidth"; WebViewerRef ) 

**MBS**( **"WebView.GetWidth";** /\* Queries the width of the WebViewer. \*/  
**$WebViewerRef**) /\* Either the Web Viewer Object Name or the Web Viewer ID as returned by "[WebView.FindByName](WebViewFindByName.md)" function. \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| WebViewerRef | Either the Web Viewer Object Name or the Web Viewer ID as returned by "[WebView.FindByName](WebViewFindByName.md)" function. |  |

### Result

Returns number or error.

### Description

Queries the width of the WebViewer.  
Value returned in points.  
### See also

- [MapView.GetWidth](MapViewGetWidth.md)
- [TextView.GetWidth](TextViewGetWidth.md)
- [WebView.FindByName](WebViewFindByName.md)
- [WebView.GetHeight](WebViewGetHeight.md)
- [WebView.GetHidden](WebViewGetHidden.md)
- [WebView.GetLink](WebViewGetLink.md)
- [WebView.GetTitle](WebViewGetTitle.md)
- [WebView.SetWidth](WebViewSetWidth.md)

### Release notes

- **Version 15.5**
    - Added [WebView.GetHeight](https://www.mbsplugins.eu/WebViewGetHeight.shtml), [WebView.GetWidth](https://www.mbsplugins.eu/WebViewGetWidth.shtml), [WebView.SetHeight](https://www.mbsplugins.eu/WebViewSetHeight.shtml) and [WebView.SetWidth](https://www.mbsplugins.eu/WebViewSetWidth.shtml) functions.

### Blog Entries

- [MBS FileMaker Plugin, version 15.5pr2](https://www.mbsplugins.de/archive/2025-10-08/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

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

  
[WebView.GetUsePrivateBrowsing](WebViewGetUsePrivateBrowsing.md) - [WebView.GetZoom](WebViewGetZoom.md)

[HTML Version](WebViewGetWidth.shtml)