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


ISimpleRenderer.Symbol Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

ISimpleRenderer.Symbol Property

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

Product Availability

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

Description

Symbol is the symbol that all features will be drawn with.

Remarks

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.

See Also

ISimpleRenderer Interface

.NET Samples

Executing geoprocessing tools in the background (Code Files: RunGPForm) | Change layer rendering using the SymbologyControl (Code Files: LayerRendering) | Geoevents in a MapControl (Code Files: GeoEvents) | Implementing a property page for an ArcGIS Engine application (Code Files: SymbolSelectorPropPage) | Draw text on a MapControl (Code Files: DrawText)

.NET Related Topics

How to connect to ArcGIS Tracking Server | How to use symbol level drawing