UseTwoColors Property (IGradientBackground)

UseTwoColors Property (IGradientBackground) | Send Feedback
See Also

Gets or sets which position-dependent colors to use for the gradient background.

# Syntax

Visual Basic |
--- | ---
    Property UseTwoColors As System.Boolean

C# |
--- | ---
    System.bool UseTwoColors {get; set;}

JavaScript |
--- | ---
    get_UseTwoColors () : Boolean
    put_UseTwoColors (
       NewVal : Boolean
    )

COM native C++ |
--- | ---
    HRESULT get_UseTwoColors(
       VARIANT_BOOL* Val
    )
    HRESULT put_UseTwoColors(
       VARIANT_BOOL NewVal

C++ |
--- | ---
    DSRESULT get_UseTwoColors (
       bool* Val
    )
    DSRESULT put_UseTwoColors(
       bool NewVal
    )

#### Property Value

True to only use the top and bottom colors and ignore the middle color, or false to use the top, middle, and bottom colors for the gradient background

# See Also

####

IGradientBackground Interface
IGradientBackground Members

# Availability

DraftSight V1R5.0