IZoomableView.configureForZoom method

Applies to Windows and Windows Phone

Initializes the semantic zoom state for the custom control.

Syntax


iZoomableView.configureForZoom(isZoomedOut, isCurrentView, triggerZoom, prefetchedPages);

Parameters

isZoomedOut

Type: Variant

True if this is the zoomed out view; otherwise false.

isCurrentView

Type: Variant

True if this is the current view; otherwise false.

triggerZoom

Type: Variant

The function that manages semantic zoom behavior. Triggers a zoom in or zoom out if the control is the visible control.

prefetchedPages

Type: Variant

The number of pages of content to pre-fetch for zooming.

This value is dependent on the size of the semantic zoom container. More content can be displayed based on the zoom factor and the size of the container.

Return value

This method does not return a value.

Remarks

This method is called on both child elements of the semantic zoom container.

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1

Namespace

WinJS.UI

See also

IZoomableView

 

 

Show:
© 2014 Microsoft. All rights reserved.