| Components | All | New | MacOS | Windows | Linux | iOS | ||||
| Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old | |
WebView.SetWidth
Sets 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.SetWidth"; WebViewerRef; Value ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| WebViewerRef | Either the Web Viewer Object Name or the Web Viewer ID as returned by "WebView.FindByName" function. | |
| Value | The new width in points. |
Result
Returns OK or error.
Description
Sets the width of the WebViewer.While this may be useful for e.g. to make a screenshot of a WebViewer with content rendered for that width, FileMaker Pro is not aware about the change and may reset it later at any time.
See also
- MapView.GetWidth
- TextView.GetWidth
- WebView.FindByName
- WebView.GetWidth
- WebView.SetHeight
- WebView.SetHidden
- WebView.SetTitle
Release notes
- Version 15.5
- Added WebView.GetHeight, WebView.GetWidth, WebView.SetHeight and WebView.SetWidth functions.
Blog Entries
Created 4th October 2025, last changed 6th October 2025