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


IEngineEditor.InvertAgent Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IE > IEngineEditor Interface > IEngineEditor.InvertAgent Method
ArcGIS Developer Help

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