ArcObjects Library Reference (Editor)  

IEditProperties.SketchVertexSymbol Property

Symbol used to draw the vertices of the edit sketch.

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

Product Availability

Available with ArcGIS Desktop.

Remarks

Use this property to change the symbology of the vertices in the edit sketch. Edit sketch vertices are drawn in green by default.

  

[C#]

This sample assums you have a reference to IApplication from the
OnCreate hook parameter (IApplication app = hook).


public void ChangeVertexSymbol()
{
IEditor vEditor;
vEditor = app.FindExtensionByName("ESRI Object Editor") as IEditor;
IEditProperties editProperties;
editProperties = vEditor as IEditProperties;
    IRgbColor vertexColor = new RgbColorClass();
vertexColor.Green = 255;
IMarkerSymbol markerSymbol = new SimpleMarkerSymbolClass();
markerSymbol.Color = vertexColor;
markerSymbol.Size = 3;
editProperties.SketchVertexSymbol = markerSymbol;
}

See Also

IEditProperties Interface | IEditProperties.SketchSymbol Property | IEditProperties.SelectedVertexSymbol Property | IEditProperties.SnapSymbol Property