ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Core Namespace / LayoutOptions Class / DefaultGuideColor Property
Example

In This Topic
    DefaultGuideColor Property
    In This Topic
    Gets the application default layout guide color.
    Syntax
    public CIMColor DefaultGuideColor {get;}
    Public ReadOnly Property DefaultGuideColor As CIMColor

    Property Value

    ArcGIS.Core.CIM.CIMColor
    Example
    Get LayoutOptions
    var lastToolActive = ApplicationOptions.LayoutOptions.KeepLastToolActive;
    var warnOnSurrounds = ApplicationOptions.LayoutOptions.WarnAboutAssociatedSurrounds;
    //eg <Install_Path>\Resources\LayoutTemplates\en-US
    var gallery_path = ApplicationOptions.LayoutOptions.LayoutTemplatePath;
    var defaultGuideColor = ApplicationOptions.LayoutOptions.DefaultGuideColor;
    QueuedTask.Run(() =>
    {
      var guideColor = ApplicationOptions.LayoutOptions.GetGuideColor();
    });
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.4 or higher.
    See Also