Partager via


positive Attribute | Positive Property

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

bPositive Boolean that specifies or receives of the following values:
true
Default. Drop shadow is created from the nontransparent pixels of the object.
false
Drop 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