Changes the background color of a item in the thumbnail list

Discussions about document viewing.
Post Reply
gtoledo
Posts: 46
Joined: Thu May 28, 2009 7:30 pm

Changes the background color of a item in the thumbnail list

Post by gtoledo » Mon Oct 12, 2015 10:55 pm

Hi,

I am developing a web application with JavaScript and want to change the background color of an element of the thumbnail list. I tried the following and still do not succeed:

Code: Select all


 oGdThumbnailEx.SetItemBackgroundColor(1, 'red');

 oGdThumbnailEx.SetItemBackgroundColor(1, rgb(255, 0, 0));

 oGdThumbnailEx.SetItemBackgroundColor(i, 255);

 oGdThumbnailEx.SetItemBackgroundColor(i, #FF0000);


gtoledo
Posts: 46
Joined: Thu May 28, 2009 7:30 pm

Re: Changes the background color of a item in the thumbnail

Post by gtoledo » Thu Oct 15, 2015 6:30 pm

¿any comments?

gtoledo
Posts: 46
Joined: Thu May 28, 2009 7:30 pm

Re: Changes the background color of a item in the thumbnail

Post by gtoledo » Tue Oct 20, 2015 6:15 pm

I am using the ARGBI function and not have results!

The following error message is displayed:
object doesn't support property or method 'SetItemBackgroundColor'

Code: Select all

var RedColor = oGdImaging.ARGBI(255, 255, 0, 0);

oGdThumbnailEx.SetItemBackgroundColor(1, RedColor);

Post Reply

Who is online

Users browsing this forum: Amazon [Bot] and 1 guest