Zoom
PowerScript function
Description
Scales the current view with the specified zoom ratio.
Applies to
WebBrowser controls
Syntax
|
1 |
controlname.Zoom ( integer zoomlevel ) |
|
Argument |
Description |
|---|---|
|
controlname |
The name of the WebBrowser control. |
|
zoomlevel |
The ratio to zoom the web page. The default zoom ratio is |
Return value
Integer.
Returns 1 if the function succeeds and -1 if an error occurs.
Examples
This example zooms out the screen to 80%:
|
1 2 3 4 |
Integer li_rtn, li_zoom Li_zoom = 80 Li_rtn = wb_1.zoom(li_zoom) |
See also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest