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


IRubberBand Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > IR > IRubberBand Interface
ArcGIS Developer Help

IRubberBand Interface

Provides access to members that control simple rubberbanding. Note: the IRubberBand interface has been superseded by IRubberBand2. Please consider using the more recent version.

Product Availability

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

Members

Name Description
Method TrackExisting Indicates if to move or reshape an existing shape on the specified screen in response to a mouse down event.
Method TrackNew Call in response to mouse down event to rubberband a new shape on the specified screen.

Classes that implement IRubberBand

Classes Description
RubberCircle Rubberbanding class for circles.
RubberEnvelope Rubberbanding class for simple envelopes.
RubberLine Rubberbanding class for lines.
RubberPoint Rubberbanding class for points.
RubberPolygon Rubberbanding class for polygons.
RubberRectangularPolygon Rubberbanding class for rectangular polygons (rotatable envelopes).

Remarks

The IRubberBand interface is implemented in separate classes (RubberEnvelope, RubberLine, RubberPoint , and RubberPolygon ). Each of these classes contains methods for creating a RubberBand object.

.NET Samples

Custom map selection commands Create a custom tool Custom UI elements using add-ins Dynamic display animated zoom Dynamic display animated zoom RubberBand zoom