This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > ID > IDataExclusion Interface (ArcObjects .NET 10.5 SDK) |
Provides access to members that control the exclusion of data values from a renderer.
Description | ||
---|---|---|
ExclusionClause | Data exclusion where clause. | |
ExclusionDescription | Description for the excluded data. | |
ExclusionLabel | Label for the excluded data. | |
ExclusionSymbol | Symbol used to draw excluded values. | |
ShowExclusionClass | Indicates if the exclusion symbol is used. |
CoClasses and Classes | Description |
---|---|
ChartRenderer | A chart renderer used to draw pie, bar, and stacked bar chart symbols. |
ClassBreaksRenderer | A renderer that can be used to draw graduated color (choropleth) and graduated symbol maps. |
DotDensityRenderer | A dot density renderer. |
ProportionalSymbolRenderer | A proportional symbol renderer, used to draw symbols of varying size for each feature, sized in proportion to a field value. |
This interface is implemented by some feature renderers and is used to prevent a set of features from drawing. Use this interface to exclude erroneous values from rendering. For example, you might exclude features with values less than or equal to zero from drawing with a ProportionalSymbolRenderer. Also, you might exclude other special values, such as Null values. You can choose to draw these excluded features with their own symbol and have that symbol labeled in the table of contents and legend if applicable.
Exclusion works by specifying an SQL expression for the ExclusionClause. If an invalid expression is set, no features will be drawn. To specify a symbol to be used for excluded features, set the ExclusionSymbol. If this property is Nothing, then excluded features will not be drawn. Also, if ShowExclusionClass is False, then excluded features will also not be drawn on the map, or appear in the table of contents or legend, regardless of whether or not a valid ExclusionClause is set.
Exclusion prevents features from drawing. To prevent features from drawing as well as from appearing in tables and in query results, set a layer definition query using IFeatureLayerDefinition.