Changes the background color of a item in the thumbnail list

Discussions about the ThumbnailEx control of GdPicture.NET.
Post Reply
gtoledo
Posts: 43
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);

I have a multipage file with several pages of different sizes and another file with a blank letter-size page. Attempt to merge with the multipage letter size page, someone can help me?

gtoledo
Posts: 43
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?
I have a multipage file with several pages of different sizes and another file with a blank letter-size page. Attempt to merge with the multipage letter size page, someone can help me?

gtoledo
Posts: 43
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);
I have a multipage file with several pages of different sizes and another file with a blank letter-size page. Attempt to merge with the multipage letter size page, someone can help me?

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest