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


SymbolCollection Class (ArcObjects .NET 10.7 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Classes > S > SymbolCollection Class
ArcGIS Developer Help

SymbolCollectionClass Class

Collection of symbols and id pairs.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Interfaces

Interfaces Description
IClone (esriSystem) Provides access to members that control cloning of objects.
IPersist (esriSystem)
IPersistStream (esriSystem)
ISymbolCollection Provides access to members that control a collection of symbols and id pairs.
ISymbolCollection2 Provides access to members that control a collection of symbols and id pairs.

Remarks

A symbol collection is a collection of SymbolIdentifiers that each have a name, a symbol, and a unique ID.  This is a generic collection that can store any symbol type, however, this object is primarily used in the AnnotationFeatureClassExtension as an efficient way to store TextSymbols for AnnotationFeatures.  Rather than storing the TextSymbol of an AnnotationFeature with each row of the FeatureClass, AnnotationFeatures that have the same symbol can efficiently reference the same symbol in the SymbolCollection.   The linkage between the TextElement of the AnnotationFeature and the symbol in the SymbolCollection is established using the interface ISymbolCollectionElement on the TextElementISymbolCollectionElement also provides additional access to properties that can be individually overridden for each TextElement.   See ISymbolCollectionElement for more details.