Nothing.
| key |
YES |
- |
The name of the option to be set. |
| val |
YES |
- |
The value of the option to be set. |
Example
<cfset imageCFC = createObject("component","image")>
<cfset imageCFC.setOption("defaultJpegCompression","70")>
<cfset imageCFC.setOption("throwOnError","Yes")>
<cfset imageCFC.setOption("textAntiAliasing","No")>
<cfset imageCFC.setOption("interpolation","bilinear")>
<cfset imageCFC.setOption("tempDirectory",getTempDirectory())>