ArcObjects Library Reference (Editor)  

ISketchTool.Constraint Property

The sketch constraint.

[Visual Basic .NET]
Public Property Constraint As esriSketchConstraint
[C#]
public esriSketchConstraint Constraint {get; set;}

Product Availability

Available with ArcGIS Desktop.

Description

Gets/sets the esriSketchConstraint type applied to the sketch tool.

Remarks

The Constraint property gets/sets the current sketch constraint type applied to the sketch tool. The default constraint is esriConstraintNone.

See Also

ISketchTool Interface