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


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

IRubberBand2 Interface

Provides access to members that control simple rubberbanding.

Product Availability

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

Members

Name Description
Read/write property ShiftToConstrain Indicates whether the shift key constrain the shape.
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 IRubberBand2

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).