|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ILabelEngineLayerProperties2
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 |
---|
void setSymbolByRef(ITextSymbol textSymbol) throws IOException, AutomationException
textSymbol
- A reference to a com.esri.arcgis.display.ITextSymbol (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 setSymbolID(int symbolID) throws IOException, AutomationException
symbolID
- The symbolID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getSymbolID() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setOffset(double offset) throws IOException, AutomationException
offset
- The offset (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getOffset() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setBasicOverposterLayerPropertiesByRef(IBasicOverposterLayerProperties props) throws IOException, AutomationException
props
- A reference to a com.esri.arcgis.carto.IBasicOverposterLayerProperties (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IBasicOverposterLayerProperties getBasicOverposterLayerProperties() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setExpression(String expression) throws IOException, AutomationException
expression
- The expression (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getExpression() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setIsExpressionSimple(boolean simpleExpression) throws IOException, AutomationException
simpleExpression
- The simpleExpression (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isExpressionSimple() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setExpressionParserByRef(IAnnotationExpressionEngine engine) throws IOException, AutomationException
engine
- A reference to a com.esri.arcgis.carto.IAnnotationExpressionEngine (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IAnnotationExpressionEngine getExpressionParser() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setAnnotationClassID(int annotationClassID) throws IOException, AutomationException
annotationClassID
- The annotationClassID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getAnnotationClassID() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setOverposterLayerPropertiesByRef(IOverposterLayerProperties props) throws IOException, AutomationException
props
- A reference to a com.esri.arcgis.carto.IOverposterLayerProperties (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IOverposterLayerProperties getOverposterLayerProperties() throws IOException, AutomationException
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 |