positive Attribute | Positive Property

Internet Development Index

Sets or retrieves the value that indicates whether the filter creates a drop shadow from the nontransparent pixels of the object.

Syntax

HTML
{ filter:progid:DXImageTransform.Microsoft.DropShadow(
    positive = bPositive ... ) ... }
Scripting
object.filters.item(
    "DXImageTransform.Microsoft.DropShadow").Positive [ = bPositive ]

Possible Values

bPositiveBoolean that specifies or receives of the following values:
trueDefault. Drop shadow is created from the nontransparent pixels of the object.
falseDrop shadow is created from the transparent pixels of the object.

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

Remarks

If you have a transparent object but want to create the usual drop shadow effect, set the Positive property to true. This causes the transparent object to have a drop shadow outside the transparent region, rather than a drop shadow inside the transparent region.

Applies To

DropShadow