Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

Zoom – PB Docs 2019 – PowerBuilder Library

Zoom – PB Docs 2019

Zoom

PowerScript function

Description

Scales the current view with the specified zoom ratio.

Applies to

WebBrowser controls

Syntax

Argument

Description

controlname

The name of the WebBrowser control.

zoomlevel

The ratio to zoom the web page. The default zoom ratio is
0. The range of values (in percentage) is 0~500, and 1~99 for
reduction.

Return value

Integer.

Returns 1 if the function succeeds and -1 if an error occurs.

Examples

This example zooms out the screen to 80%:

See also

CancelDownload

EvaluateJavascriptAsync

EvaluateJavascriptSync

GetSource

GoBack

GoForward

Navigate

PrintAsPDF

PauseDownload

RegisterEvent

ResumeDownload

Refresh

StopNavigation

UnregisterEvent


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x