resetPageZoom()

Resets the zoom level of the current page

Synopsis:

#include <WebView.h>

virtual void resetPageZoom();

Description:

Resets the zoom level to an arbitrary value.

Examples:

The resetPageZoom() method is often used in conjunction with the mainframe() method to set the default zoom level for the current page.

case UI_BUTTON_RELOAD:
     webView->mainFrame()->reload();
     webView->resetPageZoom();
     zoom = 1.0;
     url_focus = 0;
     break;

See also:

zoomPageOut(), zoomPageIn(), setPageSizeMultiplier()