|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Provides access to some of the main properties for labeling features.
ILabelEngineLayerProperties2::OverposterLayerProperties is the generic way to get to the labeling properties for a layer. Depending on if the layer is being labeled with the ESRI Maplex Labeling Engine or the ESRI Standard Labeling Engine, this property will return either a MaplexOverposterLayerProperties object or a BasicOverposterLayerProperties object.
| Method Summary | |
int |
getAnnotationClassID()
The ID of the annotation class. |
IBasicOverposterLayerProperties |
getBasicOverposterLayerProperties()
The overposter properties, which specify how labels are placed relative to features. |
String |
getExpression()
The VBScript or JScript expression that evaluates and formats the label. |
IAnnotationExpressionEngine |
getExpressionParser()
The object that interprets the expression. |
double |
getOffset()
The offset between the label and the feature. |
IOverposterLayerProperties |
getOverposterLayerProperties()
The overposter properties, which specify how labels are placed relative to features. |
ITextSymbol |
getSymbol()
The text symbol used to draw the label. |
int |
getSymbolID()
The ID of the group symbol used to draw the label. |
boolean |
isExpressionSimple()
Indicates if the expression is simple. |
void |
setAnnotationClassID(int annotationClassID)
The ID of the annotation class. |
void |
setBasicOverposterLayerPropertiesByRef(IBasicOverposterLayerProperties props)
The overposter properties, which specify how labels are placed relative to features. |
void |
setExpression(String expression)
The VBScript or JScript expression that evaluates and formats the label. |
void |
setExpressionParserByRef(IAnnotationExpressionEngine engine)
The object that interprets the expression. |
void |
setIsExpressionSimple(boolean simpleExpression)
Indicates if the expression is simple. |
void |
setOffset(double offset)
The offset between the label and the feature. |
void |
setOverposterLayerPropertiesByRef(IOverposterLayerProperties props)
The overposter properties, which specify how labels are placed relative to features. |
void |
setSymbolByRef(ITextSymbol textSymbol)
The text symbol used to draw the label. |
void |
setSymbolID(int symbolID)
The ID of the group symbol used to draw the label. |
| Method Detail |
public void setSymbolByRef(ITextSymbol textSymbol)
throws IOException,
AutomationException
textSymbol - An reference to a com.esri.arcgis.display.ITextSymbol (in)
IOException - If there are communications problems.
AutomationException - If the remote server throws an exception.
public ITextSymbol getSymbol()
throws IOException,
AutomationException
IOException - If there are communications problems.
AutomationException - If the remote server throws an exception.
public void setSymbolID(int symbolID)
throws IOException,
AutomationException
symbolID - The symbolID (in)
IOException - If there are communications problems.
AutomationException - If the remote server throws an exception.
public int getSymbolID()
throws IOException,
AutomationException
IOException - If there are communications problems.
AutomationException - If the remote server throws an exception.
public void setOffset(double offset)
throws IOException,
AutomationException
offset - The offset (in)
IOException - If there are communications problems.
AutomationException - If the remote server throws an exception.
public double getOffset()
throws IOException,
AutomationException
IOException - If there are communications problems.
AutomationException - If the remote server throws an exception.
public void setBasicOverposterLayerPropertiesByRef(IBasicOverposterLayerProperties props)
throws IOException,
AutomationException
props - An reference to a com.esri.arcgis.carto.IBasicOverposterLayerProperties (in)
IOException - If there are communications problems.
AutomationException - If the remote server throws an exception.
public IBasicOverposterLayerProperties getBasicOverposterLayerProperties()
throws IOException,
AutomationException
IOException - If there are communications problems.
AutomationException - If the remote server throws an exception.
public void setExpression(String expression)
throws IOException,
AutomationException
expression - The expression (in)
IOException - If there are communications problems.
AutomationException - If the remote server throws an exception.
public String getExpression()
throws IOException,
AutomationException
IOException - If there are communications problems.
AutomationException - If the remote server throws an exception.
public void setIsExpressionSimple(boolean simpleExpression)
throws IOException,
AutomationException
simpleExpression - The simpleExpression (in)
IOException - If there are communications problems.
AutomationException - If the remote server throws an exception.
public boolean isExpressionSimple()
throws IOException,
AutomationException
IOException - If there are communications problems.
AutomationException - If the remote server throws an exception.
public void setExpressionParserByRef(IAnnotationExpressionEngine engine)
throws IOException,
AutomationException
engine - An reference to a com.esri.arcgis.carto.IAnnotationExpressionEngine (in)
IOException - If there are communications problems.
AutomationException - If the remote server throws an exception.
public IAnnotationExpressionEngine getExpressionParser()
throws IOException,
AutomationException
IOException - If there are communications problems.
AutomationException - If the remote server throws an exception.
public void setAnnotationClassID(int annotationClassID)
throws IOException,
AutomationException
annotationClassID - The annotationClassID (in)
IOException - If there are communications problems.
AutomationException - If the remote server throws an exception.
public int getAnnotationClassID()
throws IOException,
AutomationException
IOException - If there are communications problems.
AutomationException - If the remote server throws an exception.
public void setOverposterLayerPropertiesByRef(IOverposterLayerProperties props)
throws IOException,
AutomationException
props - An reference to a com.esri.arcgis.carto.IOverposterLayerProperties (in)
IOException - If there are communications problems.
AutomationException - If the remote server throws an exception.
public IOverposterLayerProperties getOverposterLayerProperties()
throws IOException,
AutomationException
IOException - If there are communications problems.
AutomationException - If the remote server throws an exception.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||