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


IDisplay.SetSymbol Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > ID > IDisplay Interface > IDisplay.SetSymbol Method
ArcGIS Developer Help

IDisplay.SetSymbol Method

Sets the symbol used for drawing. Four different symbols can be specified simultaneously: Marker, Line, Fill, Text.

[Visual Basic .NET]
Public Sub SetSymbol ( _
    ByVal sym As ISymbol _
)
[C#]
public void SetSymbol (
    ISymbol sym
);
[C++]
HRESULT SetSymbol(
  ISymbol* sym
);
[C++]
Parameters
sym [in]

sym is a parameter of type ISymbol*

Product Availability

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

Remarks

Call this method before calling one of the Draw methods to set the symbol for the object about to be drawn.

See Also

IDisplay Interface

.NET Samples

Multivariate renderer ArcGIS Network Analyst extension barrier location editor Triangle graphic element