|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IMapSurroundFrame
Provides access to the members that control the map surround element interface.
IMapSurroundFrame provides access to the properties and method of a map surround. When creating a new map surround frame it is recommended that IMapFrame::CreateSurroundFrame is used rather than creating the class and hooking it up to the Map / MapFrame separately.
IMapSurroundFrame is the default interface for the MapSurroundFrame object. Use this interface to obtain or update the surround object (north arrow, scale bar, or legend) stored within the frame, or when you want to obtain or update the MapFrame associated with the surround.
Method Summary | |
---|---|
IMapFrame |
getMapFrame()
The frame element of the map associated with this object's map surround. |
IMapSurround |
getMapSurround()
The map surround displayed by this frame element. |
void |
setMapFrameByRef(IMapFrame mapFrame)
The frame element of the map associated with this object's map surround. |
void |
setMapSurroundByRef(IMapSurround mapSurround)
The map surround displayed by this frame element. |
Methods inherited from interface com.esri.arcgis.carto.IFrameElement |
---|
getBackground, getBorder, getObject, getThumbnail, isDraftMode, setBackground, setBorder, setDraftMode |
Method Detail |
---|
IMapSurround getMapSurround() throws IOException, AutomationException
The MapSurround property allows you to retrieve or set the surround object (north arrow, legend, or scale bar) stored within the frame.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setMapSurroundByRef(IMapSurround mapSurround) throws IOException, AutomationException
mapSurround
- A reference to a com.esri.arcgis.carto.IMapSurround (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IMapFrame getMapFrame() throws IOException, AutomationException
The MapFrame property returns or sets (by reference) the MapFrame associated with the MapSurround object. For instance, when a scale bar is added it is linked to a particular MapFrame. When the scale of the map within the MapFrame is updated, the scale bar in the linked MapSurroundFrame should also update.
Use this property when you want to retrieve of set the MapFrame linked to the MapSurroundFrame object.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setMapFrameByRef(IMapFrame mapFrame) throws IOException, AutomationException
mapFrame
- A reference to a com.esri.arcgis.carto.IMapFrame (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 |