Method

WebKitWebViewset_magnification

unstable since: 2.54

Declaration [src]

void
webkit_web_view_set_magnification (
  WebKitWebView* web_view,
  gdouble magnification
)

Description [src]

Set the magnification factor of web_view.

The magnification factor represents the visual scaling of the page (similar to pinch-to-zoom). This is independent of the layout zoom level (which is set with webkit_web_view_set_zoom_level()). Setting the magnification factor scales the rendered page visually around the center of the view without affecting page layout or text wrapping.

Available since: 2.54

Parameters

magnification

Type: gdouble

The magnification factor.