ESRI.ArcGIS.CartographyTools
ContourAnnotation Constructor(Object,Object,Object,Double,Object,String)
See Also  Send your comments to: Site Administrator | Terms of Use | PRIVACY | Copyright @ ESRI | Careers
ESRI.ArcGIS.CartographyTools Namespace > ContourAnnotation Class > ContourAnnotation Constructor : ContourAnnotation Constructor(Object,Object,Object,Double,Object,String)




in_features
The contour line feature class for which the annotation will be created. (In, Required)
out_geodatabase
The workspace where the output feature classes will be saved. The workspace can be an existing geodatabase or an existing feature dataset. (In, Required)
contour_label_field
The field in the input layer attribute table upon which the annotation text will be based. (In, Required)
reference_scale_value
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. (In, Required)
out_layer
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. (Out, Required)
contour_color
The color of the output contour layer and annotation features. (In, Required)
Constructor that takes all required parameters for geoprocessor execution.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal in_features As Object, _
   ByVal out_geodatabase As Object, _
   ByVal contour_label_field As Object, _
   ByVal reference_scale_value As Double, _
   ByVal out_layer As Object, _
   ByVal contour_color As String _
)
Visual Basic (Usage)Copy Code
Dim in_features As Object
Dim out_geodatabase As Object
Dim contour_label_field As Object
Dim reference_scale_value As Double
Dim out_layer As Object
Dim contour_color As String
 
Dim instance As ContourAnnotation(in_features, out_geodatabase, contour_label_field, reference_scale_value, out_layer, contour_color)
C# 
public ContourAnnotation( 
   object in_features,
   object out_geodatabase,
   object contour_label_field,
   double reference_scale_value,
   object out_layer,
   string contour_color
)

Parameters

in_features
The contour line feature class for which the annotation will be created. (In, Required)
out_geodatabase
The workspace where the output feature classes will be saved. The workspace can be an existing geodatabase or an existing feature dataset. (In, Required)
contour_label_field
The field in the input layer attribute table upon which the annotation text will be based. (In, Required)
reference_scale_value
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. (In, Required)
out_layer
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. (Out, Required)
contour_color
The color of the output contour layer and annotation features. (In, Required)

See Also

© 2010 All Rights Reserved.