This property holds the name of the setting. This can be used as
a unique reference to a particular setting in a particular
effect.
So to produce a list of the names of all the settings for the
Gaussian Blur effect you might use the following code:
Set theFX = Server.CreateObject("ImageEffects.FX")
Set theEffect = theFX("Gaussian Blur")
For Each theSetting in theEffect
Response.Write "Setting Name = " & theSetting.Name
& "<br>"
Next
Which might produce the following output:
Setting Name = Radius
Then to change the value of the Radius you might use the
following code:
Set theFX = Server.CreateObject("ImageEffects.FX")
theFX("Gaussian Blur")("Radius") = 2
theFX("Gaussian Blur").Image = theCanv.Image
theFX("Gaussian Blur").Apply
|