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


ISymbolEditor.EditSymbol Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (DisplayUI)  

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

.NET Related Topics

DisplayUI