Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1    Statistic  


Sets the optical scale of the webpage.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
WebView 4.2 No Yes No No No
MBS( "WebView.setZoom"; WebViewerRef; factor )   More


Parameter Description Example value
WebViewerRef Either the Web Viewer Object Name or the Web Viewer ID as returned by "WebView.FindByName" function.
factor The scaling factor. Range is 10 to 1000. 50


Returns OK on success or error.


Sets the optical scale of the webpage.
This is the function for Windows. Please use WebView.setPageSizeMultiplier, WebView.zoomPageIn or WebView.zoomPageOut for Mac OS X.


Zooms page out:

MBS("WebView.setZoom"; "web"; 50)

See also

Blog Entries

Created 18th August 2014, last changed 17th June 2018

WebView.setPageSizeMultiplier   -   WebView.zoomPageIn

Feedback: Report problem or ask question.

MBS FileMaker tutorial videos