ThumbnailViewer - Disable Gradient-Style?

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

Moderator: Alex

Post Reply
dfboris
Posts: 8
Joined: Mon Nov 10, 2014 11:17 am

ThumbnailViewer - Disable Gradient-Style?

Post by dfboris »

Hi,

the ThumbnailViewer is using a soft gradient for the selected-color and the hover-color.
Is there a way to disable the gradient to get just the solid color i've set via the properties?

thanks
Boris
Alex
Site Admin
Posts: 2303
Joined: Thu Jul 10, 2008 2:21 pm

Re: ThumbnailViewer - Disable Gradient-Style?

Post by Alex »

Hi Boris,

I think you are trying to use WPF thumbnail viewer. Am I right?

WPF thumbnail viewer allows to change thumbnail style and you can see how to do this in our WPF Imaging Demo:
  • Run the demo
  • Open "View => Thumbnail Viewer Settings..." menu
  • Change thumbnail style in the Thumbnail Viewer Settings dialog
Best regards, Alexander
dfboris
Posts: 8
Joined: Mon Nov 10, 2014 11:17 am

Re: ThumbnailViewer - Disable Gradient-Style?

Post by dfboris »

I'm sorry for the very late feedback but now i'm back on the scannen-function of our software :)

Yes, i mean the ThumbnailViewer but i'm not on WPF but on WindowsForms (Vintasoft.Imaging.UI.ThumbnailViewer)
Here i can set the ThumbnailAppearance (and also the Selected-/NotReady- ones).

But there are only:
- BackColor
- BorderColor
- BorderStyle (i set to solid)
- BorderWidth

No option for disable gradient and no property for a second background-color (for the gradient) - so i have no chance to disable the gradient :)

If there is a "hidden" feature to display the thumbnail background without gradient, i would be happy.

Thanks a lot
Alex
Site Admin
Posts: 2303
Joined: Thu Jul 10, 2008 2:21 pm

Re: ThumbnailViewer - Disable Gradient-Style?

Post by Alex »

Hello Boris,

Thank you for explanation, I have understood your problem. In current version the thumbnail viewer allows to specify the thumbnail background color only. Also the thumbnail viewer draws the thumbnail background with gradient if the thumbnail background color is not transparent. Unfortunately gradient cannot be disabled in current version.

We will add the ability to specify the thumbnail background brush in next version of SDK, I think in 2-3 days.

Best regards, Alexander
dfboris
Posts: 8
Joined: Mon Nov 10, 2014 11:17 am

Re: ThumbnailViewer - Disable Gradient-Style?

Post by dfboris »

Hey, that's good news :)

Thanks a lot.
Post Reply