Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4    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 Yes

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

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


Webview.setPageSizeMultiplier   -   Webview.zoomPageIn

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins