|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ILayerExtensions
Provides access to the extensions of a layer.
Use this interface to manage a layer's extensions. Extensions extend a layer's behavior.
There are several ESRI layer extensions. One set implements ILayerExtensionDraw. These coclasses store information that is used to display linearly referenced data layers. Another set of ESRI layer extensions implement IDataLayerExtension. These coclasses store information that is used to display 3D data layers in ArcScene and ArcGlobe. Another set implements IFeatureLayerSourcePageExtension. These coclasses control special dialogs for setting a feature layer's data source. Layer extensions need to implement IPersistStream to be persisted in the layer/map.
Method Summary | |
---|---|
void |
addExtension(Object ext)
Adds a new extension. |
Object |
getExtension(int index)
The extension at the specified index. |
int |
getExtensionCount()
Number of extensions. |
void |
removeExtension(int index)
Removes the specified extension. |
Method Detail |
---|
int getExtensionCount() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.Object getExtension(int index) throws IOException, AutomationException
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void addExtension(Object ext) throws IOException, AutomationException
ext
- A reference to another Object (IUnknown) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void removeExtension(int index) throws IOException, AutomationException
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |