OpticalZoom Property
The OpticalZoom property contains the current zoom rate in percent.
Syntax
SiteKioskWindow.OpticalZoom [=int]
|
Possible Values
Integer that specifies or retrieves the zoom rate.
|
The property is read/write.
Remarks
This functionality is available for Internet Explorer 7 (and later versions).
Examples
The following example sets the current zoom rate to 50%.
<SCRIPT TYPE="text/javascript">
window.external.InitScriptInterface();
zoomMin = SiteKioskWindow.OpticalZoomMin;
zoomMax = SiteKioskWindow.OpticalZoomMax;
if (zoomMin <= 50 && zoomMax >= 50)
SiteKioskWindow.OpticalZoom = 50;
</SCRIPT>
|
Applies to
SiteKiosk v6.6 (and later versions).
Back to top