This method returns the ShapeAPI 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. IShapeAPI* shpAPI = new IShapeAPI;

  2. shpAPI->m_lpDispatch = featAPI.getShapeAPI();

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

  1. IShapeAPI shpAPI;

  2. shpAPI.m_lpDispatch = featAPI.getShapeAPI();

In VB (assuming featAPI is a FeatureAPI object):

In the declarations:

Public shpAPI As Object


Private shpAPI As Object

Where needed:

Set shpAPI = featAPI.getShapeAPI

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