MapPoints Property

The MapPoints property returns or sets the points used for the profile line.

Syntax

object.MapPoints

object.MapPoints = MapPoints

Parameter

Type

Description

MapPoints

Array of Doubles

required; This is the array of points specifying the vertices of the profile line

Remarks

The values in the array are in map units. The points are specified in the array as x(1), y(1), x(2), y(2)... x(n), y(n).

Example

The following example specifies an array of values for the profile line vertices. Then applies the array to the profile with the MapPoints property.

Dim pts(3) As Double

pts(0) = 275 : pts(1) = 330

pts(2) = 475 : pts(3) = 180

 

Profile.MapPoints = pts

Used by: Profile Object