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


INewPolygonFeedback Interface (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Display)  

INewPolygonFeedback Interface

Provides access to members that control the new polygon display feedback.

Product Availability

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

Members

Description
Method AddPoint Creates a node at the given point.
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.
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 INewPolygonFeedback

CoClasses and Classes Description
NewPolygonFeedback New Polygon Display Feedback Object.

Remarks

The use and behavior of the NewPolygonFeedback is similar to the NewLineFeedback; however, the geometry that is displayed and returned is a closed Polygon. This means that when Stop is called, the start point will be added again as the finish point, thus closing the shape. At least three points should be added to the Feedback. AddPoint must be called a minimum of twice after the first point has been added using Start; otherwise a Null value is returned.

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

.NET Samples

Custom subtyped command and tool (Code Files: PolyFeedbackTools)