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


IEditor.InvertAgent Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Editor)  

IEditor.InvertAgent Method

Draws the editor's snapping agent.

[Visual Basic .NET]
Public Sub InvertAgent ( _
    ByVal loc As IPoint, _
    ByVal hdc As Integer _
)
[C#]
public void InvertAgent (
    IPoint loc,
    int hdc
);

Product Availability

Available with ArcGIS Desktop.

Remarks

Call InvertAgent to draw the editor's 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.

You can change the editor's snap agent symbol using IEditProperties::SnapSymbol .

See Also

IEditor Interface | IEditProperties.SnapSymbol Property