ArcGIS Pro 3.7 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 ReadOnly Property DefaultGuideColor As CIMColor
    public CIMColor DefaultGuideColor {get;}

    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;
      //Note: Must be on QueuedTask.Run.
      var guideColor = ApplicationOptions.LayoutOptions.GetGuideColor();
    }
    Requirements

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

    ArcGIS Pro version: 3.4 or higher.
    See Also