Partager via


IZoomableView.setCurrentItem method

Selects the item closest to the specified screen coordinates.

Syntax

iZoomableView.setCurrentItem(x, y);

Parameters

  • x
    Type: Variant

    The x-coordinate in DIPs relative to the upper-left corner of the SemanticZoom viewport.

  • y
    Type: Variant

    The y-coordinate in DIPs relative to the upper-left corner of the SemanticZoom viewport..

Return value

This method does not return a value.

Remarks

Requirements

Minimum WinJS version

WinJS 3.0

Namespace

WinJS.UI

See also

IZoomableView