Different thumbnail background colors

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

Moderator: Alex

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

Different thumbnail background colors

Post by mmorvant »

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.


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

Re: Different thumbnail background colors

Post by Alex »


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