|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ILabelEnvironment
Provides access to members that work with the labeling environment.
Manages settings for the Label tool which appears on ArcMap's Draw toolbar.
The ILabelEnvironment interface maintains information about an ILabelStyle.
Method Summary | |
---|---|
ILabelStyle |
getLabelStyle()
Label style. |
int |
getLabelStyleMethod()
The label style method. |
int |
getPlacement()
The label placement method. |
void |
setLabelStyleByRef(ILabelStyle labelStyle)
Label style. |
void |
setLabelStyleMethod(int method)
The label style method. |
void |
setPlacement(int placement)
The label placement method. |
Method Detail |
---|
void setLabelStyleMethod(int method) throws IOException, AutomationException
method
- A com.esri.arcgis.carto.esriLabelEnvLabelStyleMethod constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getLabelStyleMethod() throws IOException, AutomationException
When the Label tool is used, this property determines whether the label style (which includes label placement properties and a text symbol) is chosen by the user on the Labeling dialog, or comes from the labeling properties of the layer being labeled.
If ILabelEnvironment::Placement is set to esriPlaceWhereClick, then no label placement properties are used, and only the text symbol is taken from either the chosen label style or the layer's labeling properties.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setPlacement(int placement) throws IOException, AutomationException
placement
- A com.esri.arcgis.carto.esriLabelEnvPlacement constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getPlacement() throws IOException, AutomationException
When the Label tool is used, this property determines whether new labels are placed where the user clicks, or whether label placement properties are used.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setLabelStyleByRef(ILabelStyle labelStyle) throws IOException, AutomationException
labelStyle
- A reference to a com.esri.arcgis.carto.ILabelStyle (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ILabelStyle getLabelStyle() throws IOException, AutomationException
This property is only used if ILabelEnvironment::LabelStyleMethod is set to esriChooseLabelStyle.
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 |