ArcObjects Library Reference (Display)  

RubberLine CoClass

Rubberbanding class for lines.

Product Availability

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

Description

RubberLine returns an IGeometry, but may be used as an IPolyLine.

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

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

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