This document is archived and information here might be outdated.  Recommended version.


IDataExclusion Interface (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

IDataExclusion Interface

Provides access to members that control the exclusion of data values from a renderer.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Members

Description
Read/write property ExclusionClause Data exclusion where clause.
Read/write property ExclusionDescription Description for the excluded data.
Read/write property ExclusionLabel Label for the excluded data.
Read/write property ExclusionSymbol Symbol used to draw excluded values.
Read/write property ShowExclusionClass Indicates if the exclusion symbol is used.

CoClasses that implement IDataExclusion

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.

Remarks

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.