Página 1 de 1

WebView2: ZoomFactor

Publicado: Mié Mar 08, 2023 6:31 pm
por Timm
Hi!

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

Regards, Timm

Re: WebView2: ZoomFactor

Publicado: Jue Mar 23, 2023 4:38 pm
por Timm
Hi!

Is this not possible?

Regards, Timm

Re: WebView2: ZoomFactor

Publicado: Mar Mar 28, 2023 1:22 pm
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.

Re: WebView2: ZoomFactor

Publicado: Mar Mar 28, 2023 3:45 pm
por Timm
Hi José,

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

Regards, Timm

Re: WebView2: ZoomFactor

Publicado: Mié Mar 29, 2023 6:06 pm
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 78 veces

Re: WebView2: ZoomFactor

Publicado: Jue Mar 30, 2023 12:25 pm
por Timm
Hi José,

works perfectly!

Regards, Timm