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#]

Optional Values

autoErase   Supply true as a default value.
[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(VARIANT_TRUE)]   autoErase is a parameter of type VARIANT_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 |