Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
WebView.SetPageSizeMultiplier
Sets the page size multiplier.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
WebView | 4.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |
MBS( "WebView.SetPageSizeMultiplier"; 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 | A fractional percentage value, 1.0 is 100%. | 0.5 |
Result
Returns OK on success or error message on failure.
Description
Sets the page size multiplier.Change the zoom factor of the page in views managed by this webView.
This function is only for MacOS and iOS. Please use WebView.setZoom for Windows.
See also
- WebView.CanZoomPageIn
- WebView.CanZoomPageOut
- WebView.FindByName
- WebView.GetPageSizeMultiplier
- WebView.setZoom
Created 18th August 2014, last changed 4th June 2020