What's gimage.addImageObject for?

I know gbackground.addImageObject, but what is gimage.addImageObject for

I tried it, but seems no effect (though no error).




Answer this question

What's gimage.addImageObject for?

  • BIG037

    There's a lot of errors in the MSDN documentation, such as missing Gadget events for visibility, and errors on System.Shell.chooseFile, System.Shell.knownFolder and System.Shell.knownFolderPath.

    Someone at MS needs to kick whoever maintains the MSDN documentation into action, the documentation needs an audit. Perhaps I should maintain a "known documentation errors" page

  • John E Katich

    You're right, and I was mistaken. addImageObject and removeObjects exist only on <g:background>.
  • basedissonance

    I thought both addImageObject and removeObjects were supported for gImage, but let me double-check when I get back to work tomorrow and I'll post here with the answer.
  • nglow

    Interesting question, the MSDN documentation also states gimage.removeObjects is supported.

    I'd guess someone copied the gbackground method definitions. I'm sure Bruce will confirm if they are supported, it would certainly make some Gadgets easier to code if it was, as gbackground.removeObjects isn't very friendly.

  • PedroCGD

    Tested... There is no addImageObject, addTextObject, removeObjects or move(damn, why no move method it waste me half hour) on gimage.

    Shame MSDN! I finally realize that most gadget references are outdated, useless and misguiding...



  • What's gimage.addImageObject for?