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.2   7.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5    Statistic  

WebView.setZoom

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

Parameters

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

Result

Returns OK on success or error.

Description

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.

Examples

Zooms page out:

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

See also

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


WebView.setPageSizeMultiplier   -   WebView.zoomPageIn

Feedback: Report problem or ask question.




Links
MBS FileMaker Plugins