This document is archived and information here might be outdated.  Recommended version.


IEditProperties.SketchVertexSymbol Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Editor > ESRI.ArcGIS.Editor > Interfaces > IE > IEditProperties Interface > IEditProperties.SketchVertexSymbol Property
ArcGIS Developer Help

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