|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geoprocessing.AbstractGPTool com.esri.arcgis.geoprocessing.tools.cartographytools.ContourAnnotation
public class ContourAnnotation
Creates annotation for contour features. The Contour Annotation tool is contained in the Cartography Tools tool box.
Field Summary |
---|
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool |
---|
vals |
Constructor Summary | |
---|---|
ContourAnnotation()
Creates the Contour Annotation tool with defaults. |
|
ContourAnnotation(Object inFeatures,
Object outGeodatabase,
Object contourLabelField,
double referenceScaleValue,
Object outLayer,
String contourColor)
Creates the Contour Annotation tool with the required parameters. |
Method Summary | |
---|---|
String |
getContourAlignment()
Returns the Contour Alignment parameter of this tool . |
String |
getContourColor()
Returns the Contour and Label Color parameter of this tool . |
Object |
getContourLabelField()
Returns the Contour Label Field parameter of this tool . |
Object |
getContourTypeField()
Returns the Contour Type Field parameter of this tool . |
String |
getEnableLaddering()
Returns the Enable Laddering parameter of this tool . |
Object |
getInFeatures()
Returns the Input Features parameter of this tool . |
Object |
getOutGeodatabase()
Returns the Output Geodatabase parameter of this tool . |
Object |
getOutGeodatabase2()
Returns the Output Workspace parameter of this tool (Read only). |
Object |
getOutLayer()
Returns the Output Layer Name parameter of this tool . |
double |
getReferenceScaleValue()
Returns the Reference Scale parameter of this tool . |
String |
getToolboxAlias()
Returns the alias of the tool box containing this tool. |
String |
getToolboxName()
Returns the name of the tool box containing this tool. |
String |
getToolName()
Returns the name of this tool. |
void |
setContourAlignment(String contourAlignment)
Sets the Contour Alignment parameter of this tool . |
void |
setContourColor(String contourColor)
Sets the Contour and Label Color parameter of this tool . |
void |
setContourLabelField(Object contourLabelField)
Sets the Contour Label Field parameter of this tool . |
void |
setContourTypeField(Object contourTypeField)
Sets the Contour Type Field parameter of this tool . |
void |
setEnableLaddering(String enableLaddering)
Sets the Enable Laddering parameter of this tool . |
void |
setInFeatures(Object inFeatures)
Sets the Input Features parameter of this tool . |
void |
setOutGeodatabase(Object outGeodatabase)
Sets the Output Geodatabase parameter of this tool . |
void |
setOutLayer(Object outLayer)
Sets the Output Layer Name parameter of this tool . |
void |
setReferenceScaleValue(double referenceScaleValue)
Sets the Reference Scale parameter of this tool . |
Methods inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool |
---|
getParameterValues, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ContourAnnotation()
Initializes the array of tool parameters with the default values specified when the tool was created.
public ContourAnnotation(Object inFeatures, Object outGeodatabase, Object contourLabelField, double referenceScaleValue, Object outLayer, String contourColor)
Initializes the array of tool parameters with the values as specified for the required parameters and with the default values for the other parameters.
inFeatures
- the contour line feature class for which the annotation will be created.outGeodatabase
- the workspace where the output feature classes will be saved. The workspace can be an existing geodatabase or an existing feature dataset.contourLabelField
- the field in the input layer attribute table upon which the annotation text will be based.referenceScaleValue
- enter the scale to use as a reference for the annotation. This sets the scale to which all symbol and text sizes in the annotation will be based.outLayer
- the group layer that will contain the contour layer, the annotation, and the mask layer. When working in ArcCatalog, you can use the Save To Layer File tool to write the output group layer to a layer file. When using ArcMap, the tool adds the group layer to the display if this option is checked in the geoprocessing options. The group layer that is created is temporary and will not persist after the session ends unless the document is saved.contourColor
- the color of the output contour layer and annotation features.Method Detail |
---|
public Object getInFeatures()
public void setInFeatures(Object inFeatures)
inFeatures
- the contour line feature class for which the annotation will be created.public Object getOutGeodatabase()
public void setOutGeodatabase(Object outGeodatabase)
outGeodatabase
- the workspace where the output feature classes will be saved. The workspace can be an existing geodatabase or an existing feature dataset.public Object getContourLabelField()
public void setContourLabelField(Object contourLabelField)
contourLabelField
- the field in the input layer attribute table upon which the annotation text will be based.public double getReferenceScaleValue()
public void setReferenceScaleValue(double referenceScaleValue)
referenceScaleValue
- enter the scale to use as a reference for the annotation. This sets the scale to which all symbol and text sizes in the annotation will be based.public Object getOutLayer()
public void setOutLayer(Object outLayer)
outLayer
- the group layer that will contain the contour layer, the annotation, and the mask layer. When working in ArcCatalog, you can use the Save To Layer File tool to write the output group layer to a layer file. When using ArcMap, the tool adds the group layer to the display if this option is checked in the geoprocessing options. The group layer that is created is temporary and will not persist after the session ends unless the document is saved.public String getContourColor()
public void setContourColor(String contourColor)
contourColor
- the color of the output contour layer and annotation features.public Object getContourTypeField()
public void setContourTypeField(Object contourTypeField)
contourTypeField
- the field in the input layer attribute table containing a value for the type of contour feature. An annotation class will be created for each type value.public String getContourAlignment()
public void setContourAlignment(String contourAlignment)
contourAlignment
- this parameter is only available with the Maplex extension. the annotation can be aligned to the contour elevations so that
the top of the text is always placed uphill. This option allows
the annotation to be placed upside down. The contour annotation can also be
aligned to the page, ensuring that the text is never placed upside
down.public String getEnableLaddering()
public void setEnableLaddering(String enableLaddering)
enableLaddering
- this parameter is only available with the Maplex extension. placing annotation in ladders will place the text so it appears to
step up and step down the contours in a straight path.
These ladders will run from the top of a hill to the bottom, will
not cross each other, will belong to a single slope, and will not
cross any other slope.public Object getOutGeodatabase2()
public String getToolName()
public String getToolboxName()
public String getToolboxAlias()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |