MapControl.GetVisibleRegion(MapVisibleRegionKind) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)
|