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


INewEnvelopeFeedback2 Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Help for .NET developers > ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > IN > INewEnvelopeFeedback2 Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Display)  

INewEnvelopeFeedback2 Interface

Provides access to members that control creating a new envelope.

Product Availability

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

Members

Name Description
Read/write property AspectRatio The aspect ratio for the custom constraint type.
Read/write property Constraint The constraint on this rubberbander.
Write-only property Display The display the feedback object will use.
Method MoveTo Move to the new point.
Method Refresh Call this after a refresh to show feedback again.
Method Start Begins a normal feedback at the given point.
Method Stop Stops the feedback and returns the shape. Shape may not be an envelope if the display is rotated.
Read/write property Symbol The symbol the feedback object will use.

Inherited Interfaces

Interfaces Description
IDisplayFeedback Provides access to members that control the base display feedback.

CoClasses that implement INewEnvelopeFeedback2

CoClasses and Classes Description
NewEnvelopeFeedback New Envelope Display Feedback Object.

Remarks

Start begins the feedback operation and takes the starting mouse location, while Stop completes the operation. The inherited MoveTo method should typically be called for each MouseMove event between Start and Stop.

When the Stop method is called, it will return an IGeometry representing a rectangular polygon, that is, a polygon with four segments in a rectangle.

The maximum and minimum of this rectangle come from the coordinates of the point given with Start and the point from the MoveTo method to be called. As a result, if MoveTo is never called, then an empty geometry will be returned; the IsEmpty property from IGeometry will return True.

The Constraint property allows you to specify how the feedback will behave and whether or not the feedback is forced to have a particular shape. The default value is zero, or no constraint. The Constraint property can be set at any time but will not have any effect until MoveTo is called.

 

See Also

INewDimensionFeedback Interface | INewEnvelopeFeedback Interface | IMovePointFeedback Interface | IReshapeFeedback Interface | ILineMovePointFeedback Interface | IMovePolygonFeedback Interface | INewBezierCurveFeedback Interface | IResizeEnvelopeFeedback Interface | INewPolygonFeedback Interface | IMoveLineFeedback Interface | INewLineFeedback Interface | INewMultiPointFeedback Interface | IResizeEnvelopeFeedback2 Interface | INewEnvelopeFeedback2 Interface | IStretchLineFeedback Interface | IPolygonMovePointFeedback Interface | IMoveGeometryFeedback Interface | IMoveImageFeedback2 Interface | IMoveImageFeedback Interface | INewCircleFeedback Interface | IMoveEnvelopeFeedback Interface | IVertexFeedback Interface