This method returns the LineAPI 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. ILineAPI* lnAPI = new ILineAPI;

  2. lnAPI->m_lpDispatch = featAPI.getLineAPI();

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

  1. ILineAPI lnAPI;

  2. lnAPI.m_lpDispatch = featAPI.getLineAPI();

In VB (assuming featAPI is a FeatureAPI object):

In the declarations:

Public lnAPI As Object


Private lnAPI As Object

Where needed:

Set lnAPI = featAPI.getLineAPI

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