Export (0) Print
Expand All
9 out of 14 rated this helpful - Rate this topic

startColorStr Attribute | StartColorStr Property

Sets or retrieves the initial color for a gradient surface.

Syntax

HTML
{ filter:progid:DXImageTransform.Microsoft.Gradient(
    startColorStr = iWidth ... ) ... }
Scripting
object.filters.item(
    "DXImageTransform.Microsoft.Gradient").StartColorStr [ = iWidth ]

Possible Values

iWidth String that specifies or receives a value that can range from #FF000000 to #FFFFFFFF.
#FF0000FF
Default. Blue.

The property is read/write. The property has a default value of #FF0000FF.

Remarks

Color is expressed in #AARRGGBB format, where AA is the alpha hexadecimal value, RR is the red hexadecimal value, GG is the green hexadecimal value, and BB is the blue hexadecimal value. The alpha value controls the opacity of the object. An alpha value of 00 is transparent, while a value of FF is opaque.

String input that is outside the hexadecimal range will revert to the default value.

Applies To

Gradient
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.