MapWinGIS:Shape Point
From MapWindow GIS
Point
Gets or sets the specified point in the shape.
VB.NET Usage
Property Point(PointIndex As Integer) As MapWinGIS.Point
Parameters
|
PointIndex | The index of the point which is to be accessed in the point. |
| ReturnValue | The specified point in the shape. |
Sample Code
Private Sub ShapePoint()
Dim shape As New MapWinGIS.Shape()
Dim point As New MapWinGIS.Point()
'Set the point x and y values
point.x = 100
point.y = 200
'Set the point at index 0 in the shape
shape.Point(0) = point
'Get the point at index 1 in the shape
point = shape.Point(1)
End Sub
VB 6 Usage
Property Point(PointIndex As Long) As Point
Parameters
|
PointIndex | The index of the point which is to be accessed in the point. |
| ReturnValue | The specified point in the shape. |
Sample Code
Private Sub ShapePoint()
Dim shape As New MapWinGIS.shape
Dim point As New MapWinGIS.point
'Set the point x and y values
point.x = 100
point.y = 200
'Set the point at index 0 in the shape
shape.point(0) = point
'Get the point at index 1 in the shape
point = shape.point(1)
End Sub
C# Usage
MapWinGIS.Point get_Point(int PointIndex)
void set_Point(int PointIndex, MapWinGIS.Point pVal)
Parameters
| PointIndex | int |
| Return Value | MapWinGIS.Point |
















