Provides access to members that control the properties of an edit session.
Product Availability
Available with ArcGIS Engine.
Description
The IEngineEditProperties interface is used to manage all of the properties of an edit session.
Members
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. | |
TargetLayer | The editor's target layer. |
CoClasses that implement IEngineEditProperties
CoClasses and Classes | Description |
---|---|
EngineEditor | A singleton object representing the Engine editing environment. |
[C#]
private void
ChangeSketchSymbol() {//Get Engine Editor
IEngineEditProperties engineEditor =new
EngineEditorClass();//Create a line symbol
ILineSymbol lineSymbol =new
SimpleLineSymbolClass(); IRgbColor rgbColor =new
RgbColorClass(); rgbColor.Red = 255; lineSymbol.Color = rgbColor;//Change the sketch symbol to use a red line
engineEditor.SketchSymbol = lineSymbol; }
[Visual Basic .NET]
Public Sub
ChangeSketchSymbol()'Get Engine Editor
Dim
engineEditorAs
IEngineEditProperties =New
EngineEditorClass'Create a line symbol
Dim
lineSymbolAs
ILineSymbol =New
SimpleLineSymbolClassDim
rgbColorAs
IRgbColor =New
RgbColorClass rgbColor.Red = 255 lineSymbol.Color = rgbColor'Change the sketch symbol to use a red line
engineEditor.SketchSymbol = lineSymbolEnd
Sub