Export (0) Print
Expand All

StartColor Property

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

Syntax

HTML
N/A
Scripting
object.filters.item(
    "DXImageTransform.Microsoft.Gradient").StartColor [ = 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 hexadecimal value is also valid.

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

Applies To

Gradient

Community Additions

ADD
Show:
© 2014 Microsoft