ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Core.Geometry Namespace / BasicMaterial Class / EdgeColor Property
Example

In This Topic
    EdgeColor Property
    In This Topic
    Gets or sets the edge color of this material.
    Syntax
    Public Property EdgeColor As Color
    public Color EdgeColor {get; set;}
    Example
    Create BasicMaterial
    {
      // Create BasicMaterial with default values
      BasicMaterial material = new BasicMaterial();
      System.Windows.Media.Color color = material.Color;         // color = Colors.Black
      System.Windows.Media.Color edgeColor = material.EdgeColor; // edgeColor = Colors.Black
      int edgeWidth = material.EdgeWidth;                        // edgeWidth = 0
      int transparency = material.TransparencyPercent;           // transparency = 0
      int shininess = material.Shininess;                        // shininess = 0
      bool cullBackFace = material.IsCullBackFace;               // cullBackFace = false
    
      // Modify the properties
      material.Color = System.Windows.Media.Colors.Red;
      material.EdgeColor = System.Windows.Media.Colors.Blue;
      material.EdgeWidth = 10;
      material.TransparencyPercent = 50;
      material.Shininess = 25;
      material.IsCullBackFace = true;
    }
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also