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


IRubberBand2 Interface (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Display)  

IRubberBand2 Interface

Provides access to members that control simple rubberbanding.

Product Availability

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

Members

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.

CoClasses that implement IRubberBand2

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