|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IBasicOverposterLayerProperties4
Provides access to members that control the placement of labels relative to features using conflict detection.
Manages settings that control the placement of dynamic labels and feature-linked annotation relative to features. This interface manages generic settings that apply to all feature geometry types (point, line, and polygon). This interface also manages, or provides access to other objects that manage, placement properties that are used only when labeling or annotating a specific feature geometry type.
Not all property value combinations on this interface 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 and this object will not correct any of 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. A few guidelines are provided here:
The following members are used only when labeling or annotating point features: PerpendicularToAngle, PointPlacementAngles, PointPlacementMethod, PointPlacementOnTop, and PointPlacementPriorities, RotationField, and RotationType . Note that labels can be placed at an angle, or on top of point features, but not both.
The following members are used only when labeling or annotating line features: LineLabelPlacementPriorities, LineLabelPosition, and LineOffset. Read the help for ILineLabelPlacementProperties and ILineLabelPosition to learn more about line label placement properties.
The following members are used only when labeling or annotating polygon features: PlaceOnlyInsidePolygon and PolygonPlacementMethod .
MaxDistanceFromTarget is used only when the label engine is used to place chart symbols.
The property GenerateUnplacedLabels simply determines whether unplaced labels are generated by the label engine or not. To specify whether or not to display the unplaced labels, see the property IOverposterLayerProperties2::TagUnplaced
ILabelEngineLayerProperties
Method Summary | |
---|---|
double |
getBufferRatio()
Label buffer ratio. |
int |
getFeatureType()
Feature type. |
int |
getFeatureWeight()
Barrier weighting for features in the layer. |
int |
getLabelWeight()
Barrier weighting for labels in the layer. |
ILineLabelPlacementPriorities |
getLineLabelPlacementPriorities()
Line label placement position priority options. |
ILineLabelPosition |
getLineLabelPosition()
Line label placement position options. |
double |
getLineOffset()
Offset in map units at which labels will be placed away from line features. |
double |
getMaxDistanceFromTarget()
Maximum distance in map units the label is allowed to be away from the feature. |
int |
getNumLabelsOption()
Feature labeling option for the layer. |
Object |
getPointPlacementAngles()
Point label placement angle(s). |
int |
getPointPlacementMethod()
Point label placement method. |
IPointPlacementPriorities |
getPointPlacementPriorities()
Point label placement position priority options. |
int |
getPolygonPlacementMethod()
Polygon label placement method. |
String |
getRotationField()
The attribute field that contains the label angle. |
int |
getRotationType()
Defines the format is the rotation field in. |
boolean |
isGenerateUnplacedLabels()
Indicates if unplaced labels are generated. |
boolean |
isPerpendicularToAngle()
Indicates whether the label should be drawn perpendicular to the angle. |
boolean |
isPlaceOnlyInsidePolygon()
Indicates whether label is to be placed only within the polygon. |
boolean |
isPointPlacementOnTop()
Indicates if point labels are placed on top of features. |
void |
setBufferRatio(double bufferRatio)
Label buffer ratio. |
void |
setFeatureType(int type)
Feature type. |
void |
setFeatureWeight(int weight)
Barrier weighting for features in the layer. |
void |
setGenerateUnplacedLabels(boolean flag)
Indicates if unplaced labels are generated. |
void |
setLabelWeight(int weight)
Barrier weighting for labels in the layer. |
void |
setLineLabelPlacementPriorities(ILineLabelPlacementPriorities linePlacementPriorities)
Line label placement position priority options. |
void |
setLineLabelPosition(ILineLabelPosition position)
Line label placement position options. |
void |
setLineOffset(double lineOffset)
Offset in map units at which labels will be placed away from line features. |
void |
setMaxDistanceFromTarget(double distance)
Maximum distance in map units the label is allowed to be away from the feature. |
void |
setNumLabelsOption(int option)
Feature labeling option for the layer. |
void |
setPerpendicularToAngle(boolean flag)
Indicates whether the label should be drawn perpendicular to the angle. |
void |
setPlaceOnlyInsidePolygon(boolean flag)
Indicates whether label is to be placed only within the polygon. |
void |
setPointPlacementAngles(Object angles)
Point label placement angle(s). |
void |
setPointPlacementMethod(int method)
Point label placement method. |
void |
setPointPlacementOnTop(boolean onTop)
Indicates if point labels are placed on top of features. |
void |
setPointPlacementPriorities(IPointPlacementPriorities pointPlacementPriorities)
Point label placement position priority options. |
void |
setPolygonPlacementMethod(int method)
Polygon label placement method. |
void |
setRotationField(String field)
The attribute field that contains the label angle. |
void |
setRotationType(int type)
Defines the format is the rotation field in. |
Method Detail |
---|
int getFeatureType() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setFeatureType(int type) throws IOException, AutomationException
type
- A com.esri.arcgis.carto.esriBasicOverposterFeatureType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getFeatureWeight() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setFeatureWeight(int weight) throws IOException, AutomationException
weight
- A com.esri.arcgis.carto.esriBasicOverposterWeight constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getLabelWeight() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setLabelWeight(int weight) throws IOException, AutomationException
weight
- A com.esri.arcgis.carto.esriBasicOverposterWeight constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getNumLabelsOption() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setNumLabelsOption(int option) throws IOException, AutomationException
option
- A com.esri.arcgis.carto.esriBasicNumLabelsOption constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ILineLabelPosition getLineLabelPosition() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setLineLabelPosition(ILineLabelPosition position) throws IOException, AutomationException
position
- A reference to a com.esri.arcgis.carto.ILineLabelPosition (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ILineLabelPlacementPriorities getLineLabelPlacementPriorities() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setLineLabelPlacementPriorities(ILineLabelPlacementPriorities linePlacementPriorities) throws IOException, AutomationException
linePlacementPriorities
- A reference to a com.esri.arcgis.carto.ILineLabelPlacementPriorities (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isGenerateUnplacedLabels() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setGenerateUnplacedLabels(boolean flag) throws IOException, AutomationException
flag
- The flag (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getPointPlacementMethod() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setPointPlacementMethod(int method) throws IOException, AutomationException
method
- A com.esri.arcgis.carto.esriOverposterPointPlacementMethod constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isPointPlacementOnTop() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setPointPlacementOnTop(boolean onTop) throws IOException, AutomationException
onTop
- The onTop (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IPointPlacementPriorities getPointPlacementPriorities() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setPointPlacementPriorities(IPointPlacementPriorities pointPlacementPriorities) throws IOException, AutomationException
pointPlacementPriorities
- A reference to a com.esri.arcgis.carto.IPointPlacementPriorities (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.Object getPointPlacementAngles() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setPointPlacementAngles(Object angles) throws IOException, AutomationException
angles
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getBufferRatio() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setBufferRatio(double bufferRatio) throws IOException, AutomationException
bufferRatio
- The bufferRatio (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getLineOffset() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setLineOffset(double lineOffset) throws IOException, AutomationException
lineOffset
- The lineOffset (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getMaxDistanceFromTarget() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setMaxDistanceFromTarget(double distance) throws IOException, AutomationException
distance
- The distance (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getRotationType() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setRotationType(int type) throws IOException, AutomationException
type
- A com.esri.arcgis.carto.esriLabelRotationType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getRotationField() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setRotationField(String field) throws IOException, AutomationException
field
- The field (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isPerpendicularToAngle() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setPerpendicularToAngle(boolean flag) throws IOException, AutomationException
flag
- The flag (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getPolygonPlacementMethod() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setPolygonPlacementMethod(int method) throws IOException, AutomationException
method
- A com.esri.arcgis.carto.esriOverposterPolygonPlacementMethod constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isPlaceOnlyInsidePolygon() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setPlaceOnlyInsidePolygon(boolean flag) throws IOException, AutomationException
flag
- The flag (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 |