Moves the focus for cone lights or the origin for point lights that are applied with the light filter.
dhtml语法
object.filters.item(
    "dximagetransform.microsoft.light").movelight(ilightnumber, ix, iy, iz, fabsolute)
parameters
| iLightNumber | 
Required.
Integerthat specifies the identifier for the light.  | 
| iX | 
Required.
Integerthat specifies the left coordinate of the light source. | 
| iY | 
Required.
Integerthat specifies the top coordinate of the light source. | 
| iZ | 
Required.
Integerthat specifies the z-axis level of the light source. | 
| fAbsolute | 
Required.
Booleanthat specifies whether the light source is moved absolutely or relative to the initial position. | 
Return Value
No return value.
Remarks
For a cone light, this method changes the target x,y values to move the light's focus. For a point light, this method changes the source x,y,z values to move the source location. 
This method has no effect on an ambient light.
Applies To