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


ISymbolEditor.EditSymbol Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > DisplayUI > ESRI.ArcGIS.DisplayUI > Interfaces > IS > ISymbolEditor Interface > ISymbolEditor.EditSymbol Method
ArcGIS Developer Help

ISymbolEditor.EditSymbol Method

Displays the Symbol Editor dialog for the given symbol and returns a flag indicating if the symbol changed.

[Visual Basic .NET]
Public Function EditSymbol ( _
    ByRef symbol As ISymbol, _
    ByVal hWnd As Integer _
) As Boolean
[C#]
public bool EditSymbol (
    ref ISymbol symbol,
    ref int hWnd
);

Product Availability

Available with ArcGIS Desktop.

Description

The EditSymbol method takes an ISymbol parameter, which must be an existing object that supports ISymbol. This object is passed by reference and will be directly changed depending on the selections made in the dialog box. Its coclass may even change.
The EditSymbol method call will open the SymbolEditor dialog box. To determine if the user clicked Cancel or OK, check the return value.

See Also

ISymbolEditor Interface