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


RubberPolygon CoClass (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Display)  

RubberPolygon CoClass

Rubberbanding class for polygons.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Interfaces

Interfaces Description
IRubberBand Provides access to members that control simple rubberbanding.
IRubberBand2 Provides access to members that control simple rubberbanding.

Remarks

RubberPolygon implements the IRubberBand interface, which contains the TrackNew and TrackExisting methods. Use the TrackNew method to digitize a new polygon on the map. Use the TrackExisting method to track existing polygons. Both methods are commonly used in the MouseDown event.

Calling ITopologicalOperator::Simplify on the digitized polygon will ensure that it is topologically correct.