|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ILabelCache
Provides access to members that control a label cache.
This interface is not supported for customization and may be removed at a future release.
Method Summary | |
---|---|
void |
addClass(int classID,
ILabelEngineLayerProperties pLayerProps)
Add a class to the label cache. |
void |
addLabel(IPlacedObject3 placedObject,
IPoint anchorPoint,
IEnvelope pEnvelope)
Add a label to the label cache. |
void |
empty()
Empty label cache. |
int |
getClassCount()
Number of classes in the cache. |
void |
getDisplaySettings(double[] scale,
double[] dataframeRotation)
Settings of the display transformation when cache was created. |
void |
getPlacedLabel(int index,
int[] classID,
String[] label,
IGeometry[] geom,
double[] angle,
IPoint[] anchorPoint,
IEnvelope[] mbr)
Retrieve a placed label from the label cache. |
int |
getPlacedLabelCount()
Number of placed labels stored the cache. |
void |
getUnplacedLabel(int index,
int[] classID,
String[] label,
IGeometry[] geom,
double[] angle,
IPoint[] anchorPoint,
IEnvelope[] mbr)
Retrieve an unplaced label from the label cache. |
int |
getUnplacedLabelCount()
Number of unplaced labels stored the cache. |
void |
init(IMap map)
Initialize label cache. |
void |
putDisplaySettings(double scale,
double dataframeRotation)
Settings of the display transformation when cache was created. |
void |
queryClass(int index,
int[] classID,
String[] className,
IFeatureLayer[] featureLayer,
ITextSymbol[] textSymbol)
Retrieve a class from the label cache. |
Method Detail |
---|
void init(IMap map) throws IOException, AutomationException
map
- A reference to a com.esri.arcgis.carto.IMap (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void empty() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void addClass(int classID, ILabelEngineLayerProperties pLayerProps) throws IOException, AutomationException
classID
- The classID (in)pLayerProps
- A reference to a com.esri.arcgis.carto.ILabelEngineLayerProperties (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getClassCount() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void queryClass(int index, int[] classID, String[] className, IFeatureLayer[] featureLayer, ITextSymbol[] textSymbol) throws IOException, AutomationException
index
- The index (in)classID
- The classID (out: use single element array)className
- The className (out: use single element array)featureLayer
- A reference to a com.esri.arcgis.carto.IFeatureLayer (out: use single element array)textSymbol
- A reference to a com.esri.arcgis.display.ITextSymbol (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void addLabel(IPlacedObject3 placedObject, IPoint anchorPoint, IEnvelope pEnvelope) throws IOException, AutomationException
placedObject
- A reference to a com.esri.arcgis.carto.IPlacedObject3 (in)anchorPoint
- A reference to a com.esri.arcgis.geometry.IPoint (in)pEnvelope
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getPlacedLabelCount() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void getPlacedLabel(int index, int[] classID, String[] label, IGeometry[] geom, double[] angle, IPoint[] anchorPoint, IEnvelope[] mbr) throws IOException, AutomationException
index
- The index (in)classID
- The classID (out: use single element array)label
- The label (out: use single element array)geom
- A reference to a com.esri.arcgis.geometry.IGeometry (out: use single element array)angle
- The angle (out: use single element array)anchorPoint
- A reference to a com.esri.arcgis.geometry.IPoint (out: use single element array)mbr
- A reference to a com.esri.arcgis.geometry.IEnvelope (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getUnplacedLabelCount() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void getUnplacedLabel(int index, int[] classID, String[] label, IGeometry[] geom, double[] angle, IPoint[] anchorPoint, IEnvelope[] mbr) throws IOException, AutomationException
index
- The index (in)classID
- The classID (out: use single element array)label
- The label (out: use single element array)geom
- A reference to a com.esri.arcgis.geometry.IGeometry (out: use single element array)angle
- The angle (out: use single element array)anchorPoint
- A reference to a com.esri.arcgis.geometry.IPoint (out: use single element array)mbr
- A reference to a com.esri.arcgis.geometry.IEnvelope (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void putDisplaySettings(double scale, double dataframeRotation) throws IOException, AutomationException
scale
- The scale (in)dataframeRotation
- The dataframeRotation (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void getDisplaySettings(double[] scale, double[] dataframeRotation) throws IOException, AutomationException
scale
- The scale (out: use single element array)dataframeRotation
- The dataframeRotation (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 |