MapControl.GetVisibleRegion(MapVisibleRegionKind) MapControl.GetVisibleRegion(MapVisibleRegionKind) MapControl.GetVisibleRegion(MapVisibleRegionKind) MapControl.GetVisibleRegion(MapVisibleRegionKind) Method

Definition

Gets the visible region of the map control.

public : Geopath GetVisibleRegion(MapVisibleRegionKind region)
Geopath GetVisibleRegion(MapVisibleRegionKind region) const;
public Geopath GetVisibleRegion(MapVisibleRegionKind region)
Public Function GetVisibleRegion(region As MapVisibleRegionKind) As Geopath

Parameters

region
MapVisibleRegionKind MapVisibleRegionKind

The visible region kind.

Returns

The geopath indicating the visible region of the map control. The returned value can be null when a valid visible region cannot be calculated.

Additional features and requirements

Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)