Skip to main content
This topic is closed to new replies. Start a new post to keep the conversation going.

3 replies

Participant
Mar 15, 2013 3:16 PM UTC

This documentation is wrong - It says "Returns - A ColdFusion image." but if you try to set the result of this function to a variable it throws an error: "The result of the method imagePaste cannot be assigned because it does not return a value."

The function actually modifies the first image parameter.

image1 will be the result of the imagePaste()

Translate
Anit_Kumar
Inspiring
Mar 15, 2013 7:52 PM UTC

Hello Ryan,

To us, the result seems to be fine, as it returns the image as output modified by ColdFusion. Further, you can't set the result to a variable as it is an image object.

Regards,

Anit Kumar

Translate
Participant
Mar 15, 2013 7:54 PM UTC

The documentation says that it returns a coldfusion image - the function does not return anything, certainly not in the sense of other function returns. It modifies the first image parameter.

Translate