VintaSoft Imaging .NET SDK and Plug-ins Discussions

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

Board index < VintaSoft Imaging < VintaSoft Imaging .NET SDK and Plug-ins Discussions

We are migrating to new forums engine, no new registration or posting currently available. TIA for your patience.

ThumbnailViewer - Disable Gradient-Style?



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


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


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


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


Re: ThumbnailViewer - Disable Gradient-Style?

Post by dfboris »

Hey, that's good news :)

Thanks a lot.


Page 1 from 1: 1