ArcObjects Library Reference (Display)  

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 Snippets

Flash Geometry

.NET Samples

ArcGIS Network Analyst extension barrier location editor (Code Files: EditorForm) | Multivariate renderer (Code Files: MultivariateRenderer) | Triangle graphic element (Code Files: TriangleElementClass)