com.esri.arcgis.controls
Interface IPlace

All Superinterfaces:
Serializable
All Known Implementing Classes:
Place

public interface IPlace
extends Serializable

Provides access to members that work with a place.

Description

The IPlace interface manages the individual Place objects in the collection.

Product Availability

Available with ArcGIS Engine.


Method Summary
 IGeometry getGeometry()
          The geometry of the place.
 String getName()
          The name of the place.
 void setGeometryByRef(IGeometry ppGeometry)
          The geometry of the place.
 void setName(String pName)
          The name of the place.
 

Method Detail

setName

void setName(String pName)
             throws IOException,
                    AutomationException
The name of the place.

Product Availability

Available with ArcGIS Engine.

Parameters:
pName - The pName (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getName

String getName()
               throws IOException,
                      AutomationException
The name of the place.

Description

The Name of the Place.

Note the Name maybe changed when the Place is added to the collection when allowChangeName is passed as true to the IPlaceCollection::Add method.

Product Availability

Available with ArcGIS Engine.

Returns:
The pName
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setGeometryByRef

void setGeometryByRef(IGeometry ppGeometry)
                      throws IOException,
                             AutomationException
The geometry of the place.

Product Availability

Available with ArcGIS Engine.

Parameters:
ppGeometry - A reference to a com.esri.arcgis.geometry.IGeometry (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getGeometry

IGeometry getGeometry()
                      throws IOException,
                             AutomationException
The geometry of the place.

Description

The Geometry of the Place. The Geometry must have its IGeometry::SpatialReference set.

Product Availability

Available with ArcGIS Engine.

Returns:
A reference to a com.esri.arcgis.geometry.IGeometry
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.