FeatureAPI.getPointAPI

 

LPDISPATCH getPointAPI()

This method returns the PointAPI object corresponding to the map.  The method is used as shown below.

In VC++, allocated on the heap (assuming featAPI is an instance of FeatureAPI):

  1. IPointAPI* ptAPI = new IPointAPI;

  2. ptAPI->m_lpDispatch = featAPI.getPointAPI();

In VC++, on the stack (assuming featAPI is an instance of FeatureAPI):

  1. IPointAPI ptAPI;

  2. ptAPI.m_lpDispatch = featAPI.getPointAPI();

In VB (assuming featAPI is a FeatureAPI object):

In the declarations:

Public ptAPI As Object

or

Private ptAPI As Object

Where needed:

Set ptAPI = featAPI.getPointAPI

The client receives an instance of this object shared by other clients, if any.