Different thumbnail background colors

Questions, comments and suggestions concerning VintaSoft Imaging .NET SDK.

Moderator: Alex

Post Reply
mmorvant
Posts: 1
Joined: Wed Jan 05, 2011 5:17 pm

Different thumbnail background colors

Post by mmorvant » Thu Apr 12, 2012 4:56 pm

I would like to assign a different colored background to different thumbnails in a single document. I would like a user to be able to assign a category to each page and then re-inforce that category with a different color. For sake of argument let's say that we have a ten page document. The user could identify the title page with red, the table of contents with orange, the forward with blue, and the contents with green. The actual images wouldn't be changed, just the thumbnail view. Also, this doesn't need to be saved in any way.

The thumbnail class is sealed so I can't create my own custom control, and the Appearance objects are global. Is there any other way that I could do this? I have spent a couple of hours digging into it, and couldn't come up with anything viable. I am hoping that I missed something.

Any help is appreciated.

Thanks!

Alex
Site Admin
Posts: 1445
Joined: Thu Jul 10, 2008 2:21 pm

Re: Different thumbnail background colors

Post by Alex » Fri Apr 13, 2012 10:08 am

Hello,

You can subscribe to the ThumbnailPainting event of the ThumbnailViewer object and change the painting algorithm of thumbnail if this is necessary.

Best regards, Alexander

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests