WebView2: ZoomFactor

Xailer professional forum in English
Responder
Timm
Mensajes: 136
Registrado: Lun Jun 21, 2010 11:01 am

WebView2: ZoomFactor

Mensaje por Timm »

Hi!

Is is possible to set the zoom factor of a website opened with TWebView?

Regards, Timm
Timm
Mensajes: 136
Registrado: Lun Jun 21, 2010 11:01 am

Re: WebView2: ZoomFactor

Mensaje por Timm »

Hi!

Is this not possible?

Regards, Timm
Avatar de Usuario
jfgimenez
Site Admin
Mensajes: 5707
Registrado: Lun Abr 06, 2015 8:48 pm
Contactar:

Re: WebView2: ZoomFactor

Mensaje por jfgimenez »

Hi Timm,

sorry for the delay.
I've added a new property nZoomFactor.
I'll be available in the next release. If you already need it, just ask me.
José F. Giménez
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
Timm
Mensajes: 136
Registrado: Lun Jun 21, 2010 11:01 am

Re: WebView2: ZoomFactor

Mensaje por Timm »

Hi José,

great, thank you very much for your support!
I could already use it now.

Regards, Timm
Avatar de Usuario
jfgimenez
Site Admin
Mensajes: 5707
Registrado: Lun Abr 06, 2015 8:48 pm
Contactar:

Re: WebView2: ZoomFactor

Mensaje por jfgimenez »

Hi Timm,

add these two modules to your project in order to test it.

There is a new property called nZoomFactor. It allows real/double values, where 1.0 means 100% zoom factor. You may assign it before creating the control or at any other time.
WebView.zip
(16.19 KiB) Descargado 126 veces
José F. Giménez
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
Timm
Mensajes: 136
Registrado: Lun Jun 21, 2010 11:01 am

Re: WebView2: ZoomFactor

Mensaje por Timm »

Hi José,

works perfectly!

Regards, Timm
Responder