Description
Scales the current view area.
Applies to
Syntax
controlname.Zoom ( integer zoomlevel )
Argument |
Description |
---|---|
controlname |
The name of the WebBrowser control. |
zoomlevel |
The ratio to zoom the web page. Valid values are from 25 to 500 (in percentage). Values beyond this range have no zoom effect. |
Return value
Integer.
Returns 1 if the function succeeds and a negative value if an error occurs. If any argument's value is null, the method returns null.
Examples
This example zooms out the screen to 125%:
Integer li_Ret li_Ret = wb_1.Zoom( 125 ) //125%
See also