Inheritance: WebKit.WebSettings
Beispiel #1
0
        public void ZoomTo(int size)
        {
            Summa.Gui.WebSettings settings = new Summa.Gui.WebSettings();
            settings.DefaultFontSize = Config.DefaultZoomLevel;

            Settings = settings;
        }
Beispiel #2
0
        public void ZoomOut()
        {
            Summa.Gui.WebSettings settings = new Summa.Gui.WebSettings();

            if ( Config.DefaultZoomLevel-1 > 4 ) {
                Config.DefaultZoomLevel--;
                settings.DefaultFontSize = Config.DefaultZoomLevel;

                Settings = settings;
            }
        }