Changes the intensity of a light applied with the light filter.
dhtml语法
object.filters.item(
"dximagetransform.microsoft.light").changestrength(ilightnumber, istrength, fabsolute)
parameters
iLightNumber |
Required.
Integerthat specifies the identifierfor the light. |
iStrength |
Required.
Integerthat specifies the intensity of the light filter. The value can range from 0 (lowest intensity) to 100 (highest intensity). |
fAbsolute |
Required.
Booleanthat 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