ArcGIS Pro 3.2 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 Color EdgeColor {get; set;}
    Public Property EdgeColor As Color
    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, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also