Compartir a través de


EndColor Property

Sets or retrieves the final opaque color for a gradient surface.

Syntax

HTML
N/A
Scripting
object.filters.item(
    "DXImageTransform.Microsoft.Gradient").EndColor [ = sColor ]

Possible Values

sColor Integer that specifies or receives the color value that can range from 0 (transparent) to 4294967295 (opaque white).

The property is read/write. The property has no default value.

Remarks

When you set the EndColor property value in script , it can be expressed in hexadecimal 0xAARRGGBB format.

  • AA is the alpha value from 00 to FF
  • RR is the red hexadecimal value from 00 to FF
  • GG is the green hexadecimal value from 00 to FF
  • BB is the blue hexadecimal value from 00 to FF

The integer conversion of the hexidecimal value is also valid.

Note  HTML declaration of the EndColor property only permits an integer value.

Applies To

Gradient