-
Notifications
You must be signed in to change notification settings - Fork 0
PointVB
sindizzy edited this page Dec 23, 2020
·
4 revisions
Sample code for creating a new point
Imports DotSpatial.Geometries
Imports DotSpatial.Common
Private Sub btnCoord_Click(sender As Object, e As EventArgs)
'creates a new coordinate
Dim c As New Coordinate(2.4, 2.4)
'passes the coordinate to a new point
Dim p As New Point(c)
'displayes the new point's x and y coordiantes
MessageBox.Show(("Point p is: x= " + p.X & " & y= ") + p.Y)
End Sub