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


RubberEnvelope Class (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Classes > R > RubberEnvelope Class
ArcGIS Developer Help

RubberEnvelopeClass Class

Rubberbanding class for simple envelopes.

Product Availability

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

Description

Use RubberEnvelope to either create a new IEnvelope object or to track an existing one.

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

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