Delen via


MapControl.GetVisibleRegion(MapVisibleRegionKind) Method

Definition

Gets the visible region of the map control.

public:
 virtual Geopath ^ GetVisibleRegion(MapVisibleRegionKind region) = GetVisibleRegion;
Geopath GetVisibleRegion(MapVisibleRegionKind const& region);
public Geopath GetVisibleRegion(MapVisibleRegionKind region);
function getVisibleRegion(region)
Public Function GetVisibleRegion (region As MapVisibleRegionKind) As Geopath

Parameters

region
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.

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Applies to