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


IEngineEditProperties.SnapSymbol Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Controls)  

IEngineEditProperties.SnapSymbol Property

Symbol used to draw the snap location.

[Visual Basic .NET]
Public Property SnapSymbol As IMarkerSymbol
[C#]
public IMarkerSymbol SnapSymbol {get; set;}
[C++]
HRESULT get_SnapSymbol(
  IMarkerSymbol** symbol
);
[C++]
HRESULT putref_SnapSymbol(
  IMarkerSymbol* symbol
);
[C++]

Parameters symbol [out, retval]
symbol is a parameter of type IMarkerSymbol symbol [in]
symbol is a parameter of type IMarkerSymbol

Product Availability

Available with ArcGIS Engine.

Description

The SnapSymbol displayed whenever you are working with the edit sketch. The default snap symbol is a blue dot.

The snap agent knows to draw the snap symbol twice, once to get rid of the old symbol and once to draw the symbol at its new location. When setting the symbol, don't forget to set the ISymbol::ROP2 to esriROPNotXOrPen. This setting allows the symbol to erase itself when drawn twice in the same location.

See Also

IEngineEditProperties Interface