This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IS > ISimpleRenderer Interface > ISimpleRenderer.Symbol Property (ArcObjects .NET 10.5 SDK) |
Symbol used to draw each feature.
[Visual Basic .NET] Public Property Symbol As ISymbol
[C#] public ISymbol Symbol {get; set;}
[C++]
HRESULT get_Symbol(
ISymbol** Symbol
);
[C++]
HRESULT putref_Symbol(
ISymbol* Symbol
);
[C++]
Parameters Symbol [out, retval]
Symbol is a parameter of type ISymbol Symbol [in]
Symbol is a parameter of type ISymbol
This property provides access to the symbol used to draw all features in a layer.
The symbol type matches the geometry of the layer being rendered, so marker symbols are used to draw point layers, line symbols are used to draw line features, and fill symbols are used to draw polygon features.
Marker symbols can be rotated on a feature by feature basis via IRotationRenderer. Fill symbols can be made partially transparent, again on a feature by feature basis, via ITransparencyRenderer. The amount of rotation or transparency is specified by attribute values associated with each feature.