public enum VertexMarkerType : System.Enum, System.IComparable, System.IConvertible, System.IFormattable
Public Enum VertexMarkerType Inherits System.Enum Implements System.IComparable, System.IConvertible, System.IFormattable
public enum VertexMarkerType : System.Enum, System.IComparable, System.IConvertible, System.IFormattable
Public Enum VertexMarkerType Inherits System.Enum Implements System.IComparable, System.IConvertible, System.IFormattable
Member | Description |
---|---|
Circle | Circle. |
CircleWithCenteredText | Text within a cirlce. |
Cross | Cross. |
Diamond | Diamond. |
DiscoRectangle | Disco hexagon. |
Hexagon | Hexagon. |
PushPin | Push pin. |
Rectangle | Rectangle. |
Rod | Rod. |
RodWithPerpendicularText | Rod with perpendicular text. |
RoundedRectangle | Rounded rectangle. |
RoundedSquare | Rounded square. |
RoundedTriangle | Rounded triangle. |
Square | Square. |
Star | Star. |
StretchedHexagon | Stretched hexagon. |
Text | Text. |
Triangle | Triangle. |
//var options = ApplicationOptions.EditingOptions; QueuedTask.Run(() => { //change the regular unselected vertex symbol //default is a green, hollow, square, 5pts. Change to //Blue outline diamond, 10 pts var vertexSymbol = new VertexSymbolOptions(VertexSymbolType.RegularUnselected); vertexSymbol.OutlineColor = ColorFactory.Instance.BlueRGB; vertexSymbol.MarkerType = VertexMarkerType.Diamond; vertexSymbol.Size = 10; //Are these valid? if (options.CanSetVertexSymbolOptions( VertexSymbolType.RegularUnselected, vertexSymbol)) { //apply them options.SetVertexSymbolOptions(VertexSymbolType.RegularUnselected, vertexSymbol); } });
System.Object
System.ValueType
System.Enum
ArcGIS.Desktop.Core.VertexMarkerType
Target Platforms: Windows 11, Windows 10