GetElementColor Method (IApplicationOptions)

GetElementColor Method (IApplicationOptions) | Send Feedback
See Also Example

Color[out]
  Color

ElementColor
  User-interface element as defined in dsElementColor_e

Gets the color of the specified user-interface element.

# Syntax

Visual Basic |
--- | ---
    Function GetElementColor( _
       ByVal ElementColor As dsElementColor_e _
    ) As Color

C# |
--- | ---
    Color GetElementColor(
       dsElementColor_e ElementColor
    )

JavaScript |
--- | ---
    GetElementColor(
       ElementColor : String
    ) : dsColor

COM native C++ |
--- | ---
    HRESULT GetElementColor(
       dsElementColor_e ElementColor,
       IColor** Color
    )

C++ |
--- | ---
    DSRESULT GetElementColor(
       dsElementColor_e ElementColor,
       dsColor** Color
    )

#### Parameters

ElementColor
  User-interface element as defined in dsElementColor_e
Color[out] or Return Value
  Color

# Example

Change Colors of User-interface Elements (C#)
Change Colors of User-interface Elements (VB.NET)
Change Colors of User-interface Elements (VBA)
Change Colors of User-interface Elements (JavaScript)

# See Also

####

IApplicationOptions Interface
IApplicationOptions Members
IApplicationOptions::SetElementColor Method ()

# Availability

DraftSight V1R4.0