Share via


MapPolygon.Path Property

Definition

Gets or sets the collection of coordinates that define the MapPolygon shape.

Note

In Windows 10, version 1511, we recommend using the Paths property to create simple and complex polygons. Do not use both properties (Paths and Path) at the same time.

public:
 property Geopath ^ Path { Geopath ^ get(); void set(Geopath ^ value); };
Geopath Path();

void Path(Geopath value);
public Geopath Path { get; set; }
var geopath = mapPolygon.path;
mapPolygon.path = geopath;
Public Property Path As Geopath

Property Value

The collection of coordinates that define the MapPolygon shape.

Applies to

See also