Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   Crossplatform   Server (Not)   Client   Components   Old   Guides
New in version: 5.0   5.1   5.2   5.3   5.4   6.0   6.1   6.2   6.3   6.4   6.5   7.0   7.1    Statistic  


Sets the optical scale of the webpage.

Component: Webview
Version: 4.2
Mac OS X: No
Windows: Yes
Server: No
FileMaker Cloud: No

MBS( "Webview.setZoom"; WebViewerRef; factor )


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

Webview.setPageSizeMultiplier   -   Webview.zoomPageIn

Feedback: Report problem or ask question.

MBS Real Studio Plugins - Förderverein St. Arnulf Nickenich