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


ISnappingFeedback.Initialize Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Controls)  

ISnappingFeedback.Initialize Method

Initialize with the current snapping environment.

[Visual Basic .NET]
Public Sub Initialize ( _
    ByVal Hook As Object, _
    ByVal snapEnv As ISnappingEnvironment, _
    [ByVal autoErase As Boolean] _
)
[C#]
public void Initialize (
    object Hook,
    ISnappingEnvironment snapEnv,
    bool autoErase
);
[C++]
HRESULT Initialize(
  IDispatch* Hook,
  ISnappingEnvironment* snapEnv,
  VARIANT_BOOL autoErase
);
[C++]

Parameters Hook [in]
Hook is a parameter of type IDispatch snapEnv [in]
snapEnv is a parameter of type ISnappingEnvironment* autoErase [in, optional, defaultvalue()]
autoErase is a parameter of type bool

Product Availability

Available with ArcGIS Engine.

Remarks

Initialize sets up a SnappingFeedback class with the appropriate snap symbol as defined on snapping environment.

See Also

ISnappingFeedback Interface

.NET Samples

Angle Angle shape constructor (Code Files: AngleAngleCstr)

.NET Related Topics

Working with the ArcGIS snapping environment