Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

ImagePaste

Explorer ,
Mar 15, 2013 Mar 15, 2013

This question was posted in response to the following article: http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24-7962.html

531
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 15, 2013 Mar 15, 2013

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
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Mar 15, 2013 Mar 15, 2013

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
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 15, 2013 Mar 15, 2013
LATEST

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
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources