Initializes a new instance of the Multipoint class, applying the specified CoordinateSystem.

Namespace:  ESRI.ArcGISExplorer.Geometry

Assembly:  ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: (


public Multipoint(
	CoordinateSystem coordinateSystem
Visual Basic (Declaration)
Public Sub New ( _
	coordinateSystem As CoordinateSystem _


Type: ESRI.ArcGISExplorer.Geometry..::.CoordinateSystem

The CoordinateSystem of the new Multipoint.


Use this overload to initialize a Multipoint if you know at initialization time what the coordinate system of the geometry will be but not the other spatial location.


The code below creates a new Multipoint with a specific CoordinateSystem, and then uses the AddPoint method to populate the Multipoint with individual Points. Instances of the Point class are fully-qualified to avoid namespace clashes with System.Drawing.Point.
// Create a new Multipoint using a specific CoordinateSystem, and add vertices one-by-one.
Multipoint mpt = new Multipoint(CoordinateSystem.ProjectedCoordinateSystems.NationalGrids.Europe.BritishNationalGrid);
mpt.AddPoint(new ESRI.ArcGISExplorer.Geometry.Point(216640, 771340));
mpt.AddPoint(new ESRI.ArcGISExplorer.Geometry.Point(215940, 771940));
mpt.AddPoint(new ESRI.ArcGISExplorer.Geometry.Point(215540, 770140));
' Create a new Multipoint using a specific CoordinateSystem, and add vertices one-by-one.
Dim mpt As Multipoint = New Multipoint(CoordinateSystem.ProjectedCoordinateSystems.NationalGrids.Europe.BritishNationalGrid)
mpt.AddPoint(New ESRI.ArcGISExplorer.Geometry.Point(216640, 771340))
mpt.AddPoint(New ESRI.ArcGISExplorer.Geometry.Point(215940, 771940))
mpt.AddPoint(New ESRI.ArcGISExplorer.Geometry.Point(215540, 770140))

See Also