This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Editor > ESRI.ArcGIS.Editor > Interfaces > IE > IEditProperties Interface > IEditProperties.SelectedVertexSymbol Property (ArcObjects .NET 10.4 SDK) |
Symbol used to draw the active vertex of the edit sketch.
[Visual Basic .NET] Public Property SelectedVertexSymbol As IMarkerSymbol
[C#] public IMarkerSymbol SelectedVertexSymbol {get; set;}
This sample assums you have a reference to IApplication from the OnCreate hook parameter (IApplication app=hook).
public void ChangeActiveVertexSymbol()
{
IEditor vEditor;
vEditor=app.FindExtensionByName("ESRI Object Editor") as IEditor;
IEditProperties editProperties;
editProperties=vEditor as IEditProperties;
IRgbColor vertexColor=new RgbColorClass();
vertexColor.Green=255;
IMarkerSymbol activeVertexSym=new SimpleMarkerSymbolClass();
activeVertexSym.Color=vertexColor;
activeVertexSym.Size=3;
editProperties.SelectedVertexSymbol=activeVertexSym;
}
IEditProperties Interface | IEditProperties.SketchVertexSymbol Property | IEditProperties.SketchSymbol Property | IEditProperties.SnapSymbol Property