SetElementColor Method (IApplicationOptions)

SetElementColor Method (IApplicationOptions) | Send Feedback
See Also Example

ElementColor
  User-interface element as defined in dsElementColor_e

Color
  Color

Sets the colors of the specified user-interface elements.

# Syntax

Visual Basic |
--- | ---
    Sub SetElementColor( _
       ByVal ElementColor As dsElementColor_e, _
       ByVal Color As Color _
    )

C# |
--- | ---
    void SetElementColor(
       dsElementColor_e ElementColor,
       Color Color
    )

JavaScript |
--- | ---
    SetElementColor(
       ElementColor : String,
       Color : dsColor
    )

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

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

#### Parameters

ElementColor
  User-interface element as defined in dsElementColor_e
Color
  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::GetElementColor Method ()

# Availability

DraftSight V1R4.0