|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ILabelClassDescription
Provides access to the Label Class Description Interface.
Method Summary | |
---|---|
String |
getLabelExpression()
The Label Expression. |
ILabelPlacementDescription |
getLabelPlacementDescription()
LabelPlacementDescription. |
double |
getMaximumScale()
Maximum scale at which the symbol will display. |
double |
getMinimumScale()
Minimum scale at which the symbol will display. |
ITextSymbol |
getSymbol()
The text symbol used to draw the label. |
boolean |
isUseCodedValue()
Indicates whether Coded Value Should be used when displaying label expression. |
void |
setLabelExpression(String labelExpression)
The Label Expression. |
void |
setLabelPlacementDescription(ILabelPlacementDescription ppLabelPlacementDescription)
LabelPlacementDescription. |
void |
setMaximumScale(double pMaximumScale)
Maximum scale at which the symbol will display. |
void |
setMinimumScale(double pMinimumScale)
Minimum scale at which the symbol will display. |
void |
setSymbol(ITextSymbol ppSymbol)
The text symbol used to draw the label. |
void |
setUseCodedValue(boolean useCodedValue)
Indicates whether Coded Value Should be used when displaying label expression. |
Method Detail |
---|
ILabelPlacementDescription getLabelPlacementDescription() throws IOException, AutomationException
LabelPlacementDescription returns one of three placement description objects depends on the geometry type of the layer – PointLabelPlacementDescription, LineLabelPlacementDescription or PolygonLabelPlacementDescription.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setLabelPlacementDescription(ILabelPlacementDescription ppLabelPlacementDescription) throws IOException, AutomationException
ppLabelPlacementDescription
- A reference to a com.esri.arcgis.carto.ILabelPlacementDescription (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getLabelExpression() throws IOException, AutomationException
Please note that LabelExpression either returns a field name or a simple expression set for a layer. A simple expression could be a concatenation of attribute values from two fields, for example first and last name of a parcel owner. MapServer drops any advanced expression set on the layer in the source map document and returns an empty string.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setLabelExpression(String labelExpression) throws IOException, AutomationException
labelExpression
- The labelExpression (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isUseCodedValue() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setUseCodedValue(boolean useCodedValue) throws IOException, AutomationException
useCodedValue
- The useCodedValue (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ITextSymbol getSymbol() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setSymbol(ITextSymbol ppSymbol) throws IOException, AutomationException
ppSymbol
- A reference to a com.esri.arcgis.display.ITextSymbol (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getMaximumScale() throws IOException, AutomationException
When the MaximumScale is specified, features will not be labeled when zooming in beyond that scale. For example, if the MaximumScale is 500, labels will not display when zoomed in beyond 1:500.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setMaximumScale(double pMaximumScale) throws IOException, AutomationException
pMaximumScale
- The pMaximumScale (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getMinimumScale() throws IOException, AutomationException
When the MinimumScale is specified, features will not be labeled when zooming out beyond that scale. For example, if the MaximumScale is 1000, labels will not display when zoomed out beyond 1:1000.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setMinimumScale(double pMinimumScale) throws IOException, AutomationException
pMinimumScale
- The pMinimumScale (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 |