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


IEngineEditor.InvertAgent Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Controls)  

IEngineEditor.InvertAgent Method

Draws the EngineEditor's snapping agent.

[Visual Basic .NET]
Public Sub InvertAgent ( _
    ByVal Location As IPoint, _
    ByVal hdc As Integer _
)
[C#]
public void InvertAgent (
    IPoint Location,
    int hdc
);
[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