Dela via


MapControlAutomationPeer.ZoomByUnit(ZoomUnit) Method

Definition

Zooms the viewport of the associated map by the specified ZoomUnit.

public:
 virtual void ZoomByUnit(ZoomUnit zoomUnit) = ZoomByUnit;
void ZoomByUnit(ZoomUnit const& zoomUnit);
public void ZoomByUnit(ZoomUnit zoomUnit);
function zoomByUnit(zoomUnit)
Public Sub ZoomByUnit (zoomUnit As ZoomUnit)

Parameters

zoomUnit
ZoomUnit

The amount to zoom the viewport of the associated map.

Implements

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Applies to