|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ILineLabelPosition
Provides access to members that control the relative position of line labels.
The properties of this interface correspond to the settings on the label placement properties dialog in ArcMap for line features. These properties are also used for feature-linked annotation.
Not all property value combinations are valid in ArcMap, but no validation is performed by this object. This means that you can set the properties of this object to any combination of true/false and this object will not change them for you.
When labeling occurs in ArcMap, invalid property combinations on this object can create unexpected results.
Validation does occur when the ArcMap user interface is used (i.e. the label placement properties dialog). Changes applied here by the user will change the values set on the current object.
When setting properties using this interface, it is recommended that you use the ArcMap user interface logic as a guide to setting valid property combinations. Several of these rules are described here:
Manages label placement properties for line features. For example, you can use this interface to specify whether labels can be placed above, below and/or centered on the line features being labeled.
IBasicOverposterLayerProperties
Method Summary | |
---|---|
double |
getOffset()
Offset from the start/end of lines (in map units). |
boolean |
isAbove()
Indicates if labels are placed above lines. |
boolean |
isAtEnd()
Indicates if labels are placed at the end of lines. |
boolean |
isAtStart()
Indicates if labels are placed at the start of lines. |
boolean |
isBelow()
Indicates if labels are placed below lines. |
boolean |
isHorizontal()
Indicates if labels are placed horizontally. |
boolean |
isInLine()
Indicates if labels are placed along lines at the best position. |
boolean |
isLeft()
Indicates if labels are placed to the left of lines. |
boolean |
isOnTop()
Indicates if labels are placed on top of lines. |
boolean |
isParallel()
Indicates if labels are placed parallel to lines. |
boolean |
isPerpendicular()
Indicates if labels are placed perpendicular to lines. |
boolean |
isProduceCurvedLabels()
Indicates if labels follow lines. |
boolean |
isRight()
Indicates if labels are placed to the right of lines. |
void |
setAbove(boolean flag)
Indicates if labels are placed above lines. |
void |
setAtEnd(boolean flag)
Indicates if labels are placed at the end of lines. |
void |
setAtStart(boolean flag)
Indicates if labels are placed at the start of lines. |
void |
setBelow(boolean flag)
Indicates if labels are placed below lines. |
void |
setHorizontal(boolean flag)
Indicates if labels are placed horizontally. |
void |
setInLine(boolean flag)
Indicates if labels are placed along lines at the best position. |
void |
setLeft(boolean flag)
Indicates if labels are placed to the left of lines. |
void |
setOffset(double offset)
Offset from the start/end of lines (in map units). |
void |
setOnTop(boolean flag)
Indicates if labels are placed on top of lines. |
void |
setParallel(boolean flag)
Indicates if labels are placed parallel to lines. |
void |
setPerpendicular(boolean flag)
Indicates if labels are placed perpendicular to lines. |
void |
setProduceCurvedLabels(boolean flag)
Indicates if labels follow lines. |
void |
setRight(boolean flag)
Indicates if labels are placed to the right of lines. |
Method Detail |
---|
boolean isProduceCurvedLabels() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setProduceCurvedLabels(boolean flag) throws IOException, AutomationException
flag
- The flag (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isAbove() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setAbove(boolean flag) throws IOException, AutomationException
flag
- The flag (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isBelow() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setBelow(boolean flag) throws IOException, AutomationException
flag
- The flag (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isOnTop() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setOnTop(boolean flag) throws IOException, AutomationException
flag
- The flag (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isLeft() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setLeft(boolean flag) throws IOException, AutomationException
flag
- The flag (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isRight() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setRight(boolean flag) throws IOException, AutomationException
flag
- The flag (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isInLine() throws IOException, AutomationException
If True then each label is placed along its line feature at the best position.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setInLine(boolean flag) throws IOException, AutomationException
flag
- The flag (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isAtStart() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setAtStart(boolean flag) throws IOException, AutomationException
flag
- The flag (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isAtEnd() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setAtEnd(boolean flag) throws IOException, AutomationException
flag
- The flag (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isParallel() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setParallel(boolean flag) throws IOException, AutomationException
flag
- The flag (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isPerpendicular() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setPerpendicular(boolean flag) throws IOException, AutomationException
flag
- The flag (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isHorizontal() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setHorizontal(boolean flag) throws IOException, AutomationException
flag
- The flag (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 setOffset(double offset) throws IOException, AutomationException
offset
- The offset (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 |