Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

setPageSizeMultiplier()

Set a zoom factor for all views managed by this webView

Synopsis:

#include <WebView.h>

virtual bool setPageSizeMultiplier( float multiplier );

Description:

Resets the zoom level to an arbitrary value.

Arguments:

multiplier
A fractional percentage value where 1.0 is 100%. The multiplier must be in the range cMinimumZoomMultipler to cMaximumZoomMultiplier otherwise setting the zoom will be rounded to stay in the interval.

Returns:

Returns True if the zoom was set as-is or False if the zoom was rounded.

See also:

zoomPageOut(), zoomPageIn(), resetPageZoom()