AddPoint

The AddPoint method adds a new point. Returns a Point object.

 

Syntax

object.AddPoint( x, y, UnitType )

 

Parameter

Type

Description

x

Double

required; X coordinate in page units

y

Double

required; Y coordinate in page units

UnitType

MVCoordDisplayUnits

optional; unit type, default is mvCoordDisplayUnitPageUnits

 

Remarks

This adds the default symbol. Use MarkerFormat to change the symbol properties.

 

Example

This example demonstrates how to create a symbol.

 

Dim Point As Object

Set Point = MapShapes.AddPoint(x:=5, y:=7)

 

Used by: Shapes collection