This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Editor > ESRI.ArcGIS.Editor > Interfaces > IE > IEditProperties Interface (ArcObjects .NET 10.4 SDK) |
Provides access to members that control the properties of an edit session.
The IEditProperties interface is used to manage all of the properties an edit session has. Properties include: AutoSaveOnVersion, ReportPrecision, SelectedVertexSymbol, SketchSymbol, SketchVertexSymbol, SnapSymbol, StreamGroupingCount, StreamTolerance, and StretchGeometry.
Description | ||
---|---|---|
AutoSaveOnVersionRedefined | Indicates whether the stop editing process should automatically reconcile an edit session and save the version without notification. | |
ReportPrecision | Controls the number of decimal places the editor reports numbers with. | |
SelectedVertexSymbol | Symbol used to draw the active vertex of the edit sketch. | |
SketchSymbol | Symbol used to draw the lines of the edit sketch. | |
SketchVertexSymbol | Symbol used to draw the vertices of the edit sketch. | |
SnapSymbol | Symbol used to draw the snap location. | |
StreamGroupingCount | Controls the number of points to group together when streaming. | |
StreamTolerance | Controls the streaming tolerance, measured in map units. | |
StretchGeometry | Indicates if the edit sketch is stretched when one of its vertices is moved. |
CoClasses and Classes | Description |
---|---|
Editor | The Object Editor Extension. |
This sample assums you have a reference to IEditor from the
OnCreate method in the code (IEditor m_editor).
private void ChangeSketchSymbol()
{
IEditProperties editProperties;
editProperties=m_editor as IEditProperties;
ILineSymbol lineSymbol=new SimpleLineSymbol();
IRgbColor sketchColor=new RgbColorClass();
sketchColor.Red=255;
lineSymbol.Color=sketchColor;
editProperties.SketchSymbol=lineSymbol;
}
This sample assums you have a reference to IEditor from the
OnCreate method in the code (Private m_editor as IEditor).
Private Sub ChangeSketchSymbol()
Dim editProperties As IEditProperties
editProperties=m_editor
Dim lineSymbol As ILineSymbol
Dim rColor As IRgbColor
'Change the sketch symbol to use a red line
lineSymbol=New SimpleLineSymbol
rColor=New RgbColor
rColor.Red=255
lineSymbol.Color=rColor
editProperties.SketchSymbol=lineSymbol
End Sub
IDatasetEdit Interface | IDatasetEditInfo Interface | IEditSketch Interface | IEditTask.Activate Method | IEditor Interface | IEditTask.Deactivate Method | ISnapEnvironment Interface | IEditEvents2 Interface | IEditLayers Interface | IEditEvents Interface | IEditTask.Name Property | Editor Class | Editor Library | IEditTask.OnFinishSketch Method | IEditAttributeProperties Interface | IEditTask.OnDeleteSketch Method | IEditProperties Interface | IMultiLayerMarkerSymbol Interface | IArrowMarkerSymbol Interface | IPictureMarkerSymbol Interface | ICharacterMarkerSymbol Interface | ICartographicMarkerSymbol Interface | IMarkerSymbol Interface | ILineSymbol Interface