ArcObjects Library Reference (Editor)  

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 | IEditTask.Name Property | Editor Class | ISnapEnvironment Interface | IEditEvents2 Interface | IEditTask.Deactivate Method | IEditAttributeProperties Interface | IEditor Interface | IEditSketch Interface | IEditTask.OnFinishSketch Method | IEditProperties Interface | IEditLayers Interface | IEditTask.Activate Method | IEditTask.OnDeleteSketch Method | IEditEvents Interface | IExtension Interface