ArcObjects Library Reference (Editor)  

IEditProperties.SketchSymbol Property

Symbol used to draw the lines of the edit sketch.

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

Product Availability

Available with ArcGIS Desktop.

Remarks

Use this property to change the symbology for lines (segments) in the edit sketch. The default line symbol is a solid green line with a width of one.
[C#]
public void ChangeSketchColor()
{
    //get editor extension
    UID editorUID = new UID();
    editorUID.Value = "esriEditor.Editor";
    IEditor editor = m_application.FindExtensionByCLSID(editorUID) as IEditor;

    IRgbColor rgbColor = new RgbColor();
    rgbColor.Red = 255;

    ILineSymbol lineSymbol = new SimpleLineSymbol();
    lineSymbol.Color = rgbColor;
    IEditProperties editProperties = editor as IEditProperties;
    editProperties.SketchSymbol = lineSymbol;
}

See Also

IEditProperties Interface | IEditProperties.SketchVertexSymbol Property | IEditProperties.SelectedVertexSymbol Property | IEditProperties.SnapSymbol Property