changeColor Method

Internet Development Index

Changes the color of a Light filter's light.

Syntax

object.filters.item(
    "DXImageTransform.Microsoft.Light").changeColor(iLightNumber, iRed, iGreen, iBlue, fAbsolute)

Parameters

iLightNumber Required. Integer爐hat specifies the identifier for the light.
iRed Required. Integer爐hat specifies the red value. The value can range from 0 (lowest saturation) to 255 (highest saturation).
iGreen Required. Integer爐hat specifies the green value. The value can range from 0 (lowest saturation) to 255 (highest saturation).
iBlue Required. Integer爐hat specifies the blue value. The value can range from 0 (lowest saturation) to 255 (highest saturation).
fAbsolute Required. Boolean爐hat specifies whether the color values for iRed , iGreen , and iBlue are absolute values that replace the current values, or are relative values that are added to the current values. A nonzero value indicates the color values are absolute; a value of 0 indicates the color values are relative.

Return Value

No return value.

Applies To

Light