|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IOverposter3
Provides access to members that place labels for features using conflict detection.
Method Summary | |
---|---|
void |
addBarriers(int weight,
IGeometryCollection barriers)
Adds a barrier object that placed objects must avoid. |
int |
addClass(IOverposterLayerProperties props)
Adds a class to the overposter and specifies its properties. |
void |
addCurvedLabel(int classIndex,
String label,
Object widths,
Object ascents,
Object descents,
double fontHeight,
double fontDescent,
IGeometry controlShape,
int featureId,
ISymbol symbol)
Adds a curved label object to be placed. |
void |
addLabel(int classIndex,
String label,
double width,
double height,
IGeometry controlShape,
int featureId,
ISymbol symbol)
Adds a label object to be placed. |
void |
addLabel2(int classIndex,
String label,
double width,
double height,
IGeometry controlShape,
int featureId,
ISymbol symbol,
double angle)
Adds a label object to be placed. |
void |
addSymbol(int classIndex,
ISymbol symbol,
IGeometry geometry,
int featureId)
Adds a symbol to be placed. |
int |
getCapabilities(ILayer layer)
Overposter capabilities for the specified layer. |
int |
getNumberOfPlacedLabels()
The number of unplaced labels. |
int |
getNumberOfUnplacedLabels()
The number of unplaced labels. |
int |
getNumClasses()
The number of classes. |
void |
initialize(IEnvelope extent,
IDisplay display,
IOverposterProperties pOverposterProps)
Initializes the overposter for drawing into the specified area of the map display. |
void |
insertClass(int index,
IOverposterLayerProperties props)
Inserts a class at a specific index, and specifies its peoperties. |
void |
nextPlaced(IPlacedObject[] object,
ITrackCancel trackCancel,
IStepProgressor stepProgressor)
The next object that was successfully placed. |
void |
nextUnplaced(IPlacedObject[] object)
The next object that was not successfully placed. |
void |
nextUnused(IPlacedObject[] object)
The next object that was not used. |
void |
placeObjects()
Places objects using the overposter. |
void |
releaseResources()
Releases current objects from memory. |
void |
removeClass(int classIndex)
Removes the class at the specified index from the overposter. |
void |
resetClasses()
Removes all classes from the overposter. |
Method Detail |
---|
int getNumClasses() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getCapabilities(ILayer layer) throws IOException, AutomationException
layer
- A reference to a com.esri.arcgis.carto.ILayer (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int addClass(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.void insertClass(int index, IOverposterLayerProperties props) throws IOException, AutomationException
index
- The index (in)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.void removeClass(int classIndex) throws IOException, AutomationException
classIndex
- The classIndex (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void resetClasses() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void initialize(IEnvelope extent, IDisplay display, IOverposterProperties pOverposterProps) throws IOException, AutomationException
extent
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)display
- A reference to a com.esri.arcgis.display.IDisplay (in)pOverposterProps
- A reference to a com.esri.arcgis.carto.IOverposterProperties (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void addBarriers(int weight, IGeometryCollection barriers) throws IOException, AutomationException
weight
- A com.esri.arcgis.carto.esriBasicOverposterWeight constant (in)barriers
- A reference to a com.esri.arcgis.geometry.IGeometryCollection (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void addLabel(int classIndex, String label, double width, double height, IGeometry controlShape, int featureId, ISymbol symbol) throws IOException, AutomationException
classIndex
- The classIndex (in)label
- The label (in)width
- The width (in)height
- The height (in)controlShape
- A reference to a com.esri.arcgis.geometry.IGeometry (in)featureId
- The featureId (in)symbol
- A reference to a com.esri.arcgis.display.ISymbol (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void addCurvedLabel(int classIndex, String label, Object widths, Object ascents, Object descents, double fontHeight, double fontDescent, IGeometry controlShape, int featureId, ISymbol symbol) throws IOException, AutomationException
classIndex
- The classIndex (in)label
- The label (in)widths
- A Variant (in)ascents
- A Variant (in)descents
- A Variant (in)fontHeight
- The fontHeight (in)fontDescent
- The fontDescent (in)controlShape
- A reference to a com.esri.arcgis.geometry.IGeometry (in)featureId
- The featureId (in)symbol
- A reference to a com.esri.arcgis.display.ISymbol (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void addSymbol(int classIndex, ISymbol symbol, IGeometry geometry, int featureId) throws IOException, AutomationException
classIndex
- The classIndex (in)symbol
- A reference to a com.esri.arcgis.display.ISymbol (in)geometry
- A reference to a com.esri.arcgis.geometry.IGeometry (in)featureId
- The featureId (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void placeObjects() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void nextPlaced(IPlacedObject[] object, ITrackCancel trackCancel, IStepProgressor stepProgressor) throws IOException, AutomationException
object
- A reference to a com.esri.arcgis.carto.IPlacedObject (in/out: use single element array)trackCancel
- A reference to a com.esri.arcgis.system.ITrackCancel (in)stepProgressor
- A reference to a com.esri.arcgis.system.IStepProgressor (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void nextUnplaced(IPlacedObject[] object) throws IOException, AutomationException
object
- A reference to a com.esri.arcgis.carto.IPlacedObject (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void nextUnused(IPlacedObject[] object) throws IOException, AutomationException
object
- A reference to a com.esri.arcgis.carto.IPlacedObject (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void releaseResources() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getNumberOfUnplacedLabels() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getNumberOfPlacedLabels() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void addLabel2(int classIndex, String label, double width, double height, IGeometry controlShape, int featureId, ISymbol symbol, double angle) throws IOException, AutomationException
classIndex
- The classIndex (in)label
- The label (in)width
- The width (in)height
- The height (in)controlShape
- A reference to a com.esri.arcgis.geometry.IGeometry (in)featureId
- The featureId (in)symbol
- A reference to a com.esri.arcgis.display.ISymbol (in)angle
- The angle (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 |