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


IEditSketchExtension2.StartPreSketchFeedback Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Editor > ESRI.ArcGIS.Editor > Interfaces > IE > IEditSketchExtension2 Interface > IEditSketchExtension2.StartPreSketchFeedback Method
ArcGIS Developer Help

IEditSketchExtension2.StartPreSketchFeedback Method

Called when the feedback needs to be started.

[Visual Basic .NET]
Public Sub StartPreSketchFeedback ( _
    ByVal point As IPoint _
)
[C#]
public void StartPreSketchFeedback (
    IPoint point
);

Product Availability

Available with ArcGIS Desktop.

Remarks

The ::StartPreSketchFeedback() method is called by the controller after the presketch custom feedback object has been created and is ready for use.

This method passes a copy of the Editor's ::CurrentLocation() as input.  This point can be used as the starting point for the DisplayFeedback.

[C#]
void IEditSketchExtension2.StartPreSketchFeedback(IPoint point)
{
  m_displayFeedback.MoveTo(point);
}
[Visual Basic .NET]

Private  Sub IEditSketchExtension2.StartPreSketchFeedback(ByVal point As IPoint)
  m_displayFeedback.MoveTo(point)
End Sub

See Also

IEditSketchExtension2 Interface | IDatasetEdit Interface | IDatasetEditInfo Interface | IEditSketch Interface | IEditTask.Activate Method | IEditor Interface | IEditTask.Deactivate Method | ISnapEnvironment Interface | IEditEvents2 Interface | IEditLayers Interface | IEditEvents Interface | IEditTask.Name Property | Editor Class | Editor Library | IEditTask.OnFinishSketch Method | IEditAttributeProperties Interface | IEditTask.OnDeleteSketch Method | IEditProperties Interface | IExtension Interface