This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Editor > ESRI.ArcGIS.Editor > Interfaces > ID > IDimensionConstructor Interface > IDimensionConstructor.CanFinish Property (ArcObjects .NET 10.4 SDK) |
Indicates if the dimension feature can be constructed given the number of points in the edit sketch.
[Visual Basic .NET] Public Function get_CanFinish ( _ ByVal sketchGeometry As IGeometry _ ) As Boolean
[C#] public bool get_CanFinish ( IGeometry sketchGeometry );
CanFinish determines if the specified dimension constructor's conditions have been met in order to successfully complete the construction. CanFinish is called each time a point is added to the edit sketch. One of the primary conditions is the number of points in the edit sketch. For example, the aligned dimension constructor requires exactly three points - once the edit sketch contains three points CanFinish returns True. When points are added to the sketch CanFinish is called immediately following IDimensionConstructor::AddFeedbackPoint.