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




masking_layer
The symbolized input layer, which will be intersected with the masked layer to create masking polygons. This is the layer that will be more prominently displayed when masking is applied to the masked layer. (In, Required)
masked_layer
The symbolized input layer to be masked. This is the layer that will be obscured by the masking polygons. (In, Required)
output_fc
The feature class that will contain the mask features. (Out, Required)
reference_scale
The reference scale used for calculating the masking geometry when masks are specified in page units. This is typically the reference scale of the map. (In, Required)
spatial_reference
The spatial reference for which the masking polygons will be created. This is not the spatial reference that will be assigned to the output feature class. It is the spatial reference of the map in which the masking polygons will be used since the position of symbology may change when features are projected. (In, Required)
margin
The space in page units surrounding the symbolized input features used to create the mask polygon. Typically, masking polygons are created with a small margin around the symbol to improve visual appearance. Margin values are specified in either page units or map units. Most of the time you will want to specify your margin distance value in page units. (In, Required)
method
The type of masking geometry created. There are four types: (In, Required)
mask_for_non_placed_anno
Specifies whether to create masks for unplaced annotation. This option is only used when masking geodatabase annotation layers. (In, Required)
Constructor that takes all required parameters for geoprocessor execution.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal masking_layer As Object, _
   ByVal masked_layer As Object, _
   ByVal output_fc As Object, _
   ByVal reference_scale As Double, _
   ByVal spatial_reference As Object, _
   ByVal margin As Object, _
   ByVal method As String, _
   ByVal mask_for_non_placed_anno As String _
)
Visual Basic (Usage)Copy Code
Dim masking_layer As Object
Dim masked_layer As Object
Dim output_fc As Object
Dim reference_scale As Double
Dim spatial_reference As Object
Dim margin As Object
Dim method As String
Dim mask_for_non_placed_anno As String
 
Dim instance As IntersectingLayersMasks(masking_layer, masked_layer, output_fc, reference_scale, spatial_reference, margin, method, mask_for_non_placed_anno)
C# 
public IntersectingLayersMasks( 
   object masking_layer,
   object masked_layer,
   object output_fc,
   double reference_scale,
   object spatial_reference,
   object margin,
   string method,
   string mask_for_non_placed_anno
)

Parameters

masking_layer
The symbolized input layer, which will be intersected with the masked layer to create masking polygons. This is the layer that will be more prominently displayed when masking is applied to the masked layer. (In, Required)
masked_layer
The symbolized input layer to be masked. This is the layer that will be obscured by the masking polygons. (In, Required)
output_fc
The feature class that will contain the mask features. (Out, Required)
reference_scale
The reference scale used for calculating the masking geometry when masks are specified in page units. This is typically the reference scale of the map. (In, Required)
spatial_reference
The spatial reference for which the masking polygons will be created. This is not the spatial reference that will be assigned to the output feature class. It is the spatial reference of the map in which the masking polygons will be used since the position of symbology may change when features are projected. (In, Required)
margin
The space in page units surrounding the symbolized input features used to create the mask polygon. Typically, masking polygons are created with a small margin around the symbol to improve visual appearance. Margin values are specified in either page units or map units. Most of the time you will want to specify your margin distance value in page units. (In, Required)
method
The type of masking geometry created. There are four types: (In, Required)
mask_for_non_placed_anno
Specifies whether to create masks for unplaced annotation. This option is only used when masking geodatabase annotation layers. (In, Required)

See Also

© 2010 All Rights Reserved.