Se7en Soft Forums

Task Se7en => Task Se7en Help & Support => Topic started by: Genko on July 24, 2015, 07:59:08 PM



Title: Moznet Zoom
Post by: Genko on July 24, 2015, 07:59:08 PM
Hi to all,
i'm in the need to zoom in and out the content of the browser i'm building with moznet wrapper.
But i've not find any comand or solution to do this....

Do you know if in vb.net there is a function to zoom in and out the content of a web page with Moznet Wrapper?

i've found this code below, but it goes with the standard webbrowser in vb.

Dim MyBrowser As New WebBrowser
Dim MyWeb As Object = MyBrowser.ActiveXInstance
MyWeb = MyBrowser.ActiveXInstance
MyWeb.ExecWB(OLECMDID.OLECMDID_OPTICAL_ZOOM, OLECMDEXECOPT.OLECMDEXECOPT_DONTPROMPTUSER, zoomvalue, IntPtr.Zero)
MyWeb = Nothing

Many thanks.
Genko.