Partilhar via


changeStrength Method

Changes the intensity of a light applied with the Light filter.

Syntax

object.filters.item(
    "DXImageTransform.Microsoft.Light").changeStrength(iLightNumber, iStrength, fAbsolute)

Parameters

iLightNumber Required. Integer that specifies the identifierfor the light.
iStrength Required. Integer that specifies the intensity of the light filter. The value can range from 0 (lowest intensity) to 100 (highest intensity).
fAbsolute Required. Boolean that specifies whether the intensity value of iStrength is an absolute value that replaces the current value, or a relative value that is added to the current value. A nonzero value indicates the intensity value is absolute; a value of 0 indicates the intensity value is relative. The intensity specified pertains to the target coordinates.

Return Value

No return value.

Applies To

Light