Adds a copy of the specified Point to the end of the set of existing Points in the Multipoint.
Namespace:
ESRI.ArcGISExplorer.Geometry
Assembly:
ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 2.0.0.900 (2.0.0.900)
Syntax
Parameters
- pt
- Type: ESRI.ArcGISExplorer.Geometry..::.Point
A new Point to be copied in to the Multipoint.
Examples
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.
CopyC#
CopyVB.NET

// Create a new Multipoint using a specific CoordinateSystem, and add vertices one-by-one. Multipoint mpt = new Multipoint(CoordinateSystem.ProjectedCoordinateSystems.NationalGrids.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.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
Relate Topics:
AddPoints Method
Clone Method
CreateFromXmlString Method
GetLabelPoint Method
GetPoint Method
GetPoints Method
GetXmlSchema Method
InsertPoint Method
InsertPoints Method
RemoveAllPoints Method
RemovePointAt Method
RemovePointsAt Method
SetPoint Method
SetPoints Method
ToString Method
AddPoints Method
Clone Method
CreateFromXmlString Method
GetLabelPoint Method
GetPoint Method
GetPoints Method
GetXmlSchema Method
InsertPoint Method
InsertPoints Method
RemoveAllPoints Method
RemovePointAt Method
RemovePointsAt Method
SetPoint Method
SetPoints Method
ToString Method
Created by Atop CHM to web converter,© 2009 all right reserved.