Partager via


Bias Attribute | Bias Property

Sets or retrieves a percentage of a value that is added to each color component of the filtered result.

Syntax

HTML
{ filter:progid:DXImageTransform.Microsoft.filter-name(
    Bias = fBias ... ) ... }
Scripting
object.filters.item(
    "DXImageTransform.Microsoft.filter-name").Bias [ = fBias ]

Possible Values

fBias Floating-point that specifies or receives a value that can range from -1.0 to 1.0.
0.7
Default.

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

Remarks

Larger bias values yield brighter filtered images. Images with high contrast are least affected by the filter.

Applies To

Emboss, Engrave

See Also

Scripting Filters, Filter Design Considerations