|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ILegendWizard
Provides access to members of the legend wizard.
Before calling the DoModal method on the LegendWizard, you must first do appropriate setup of a Legend object. This includes creating a Legend object, adding it as a MapSurround to the FocusMap, and assigning a valid Envelope to the Legend's element geometry.
Method Summary | |
---|---|
boolean |
doModal(int parentHWnd)
Displays the legend wizard. |
IMapSurroundFrame |
getLegendFrame()
The legend frame (valid after calling DoModal). |
void |
setInitialLegendFrame(IMapSurroundFrame rhs1)
The initial legend frame (optional). |
void |
setPageLayoutByRef(IPageLayout rhs1)
The page layout containing the map frame. |
Method Detail |
---|
void setPageLayoutByRef(IPageLayout rhs1) throws IOException, AutomationException
rhs1
- A reference to a com.esri.arcgis.carto.IPageLayout (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setInitialLegendFrame(IMapSurroundFrame rhs1) throws IOException, AutomationException
rhs1
- A reference to a com.esri.arcgis.carto.IMapSurroundFrame (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IMapSurroundFrame getLegendFrame() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean doModal(int parentHWnd) throws IOException, AutomationException
Before calling the DoModal method on the LegendWizard, you must first do appropriate setup of a Legend object. This includes creating a Legend object, adding it as a MapSurround to the FocusMap, and assigning a valid Envelope to the Legend's element geometry.
parentHWnd
- The parentHWnd (A COM typedef) (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 |