Page 1 of 1
Programatically set zoom
Posted: Fri Oct 14, 2022 5:44 pm
by thefunkyjoint
Hi,
Is there a way to programatically set to zoom on Cef4Delphi browser ?
Thanks
Re: Programatically set zoom
Posted: Fri Oct 14, 2022 6:12 pm
by salvadordf
Hi,
Yes. There are several procedures and properties to set the zoom in a browser.
- TChromiumCore.IncZoomStep
- TChromiumCore.DecZoomStep
- TChromiumCore.IncZoomPct
- TChromiumCore.DecZoomPct
- TChromiumCore.ResetZoomStep
- TChromiumCore.ResetZoomLevel
- TChromiumCore.ResetZoomPct
- TChromiumCore.ReadZoom
- TChromiumCore.ZoomLevel
- TChromiumCore.ZoomPct
- TChromiumCore.ZoomStep
The MiniBrowser demo shows how to use some of them.
Re: Programatically set zoom
Posted: Sat Oct 15, 2022 1:02 pm
by thefunkyjoint
Thank you !
