ArcObjects Library Reference (Controls)  

IEngineEditor.InvertAgent Method

Draws the EngineEditor's snapping agent.

ERROR: Syntax information about IEngineEditor.InvertAgent may not be in D:\ArcGIS\DotNet\ESRI.ArcGIS.Controls.dll

[C++]
HRESULT InvertAgent(
  IPoint* Location,
  long hdc
);
[C++]

Parameters

Location [in]

  Location is a parameter of type IPoint

hdc [in]   hdc is a parameter of type long

Product Availability

Available with ArcGIS Engine.

Description

Call InvertAgent to draw the EngineEditor's snap agent at the location specified by the required point parameter. A device handle is also required. The agent is typically used to display the mouse location or a location based on a constraint when adding points to an edit sketch. Call InvertAgent a second time with the same point parameter to draw over and erase the previous agent.

See Also

IEngineEditor Interface