Transparent Background

Posted by: ravi-spread on 8 September 2017, 4:32 am EST

  • Posted 8 September 2017, 4:32 am EST

    hi,

      i am using spread in C# windows application. here i have a background image on my screen, if i put spread control, that image is hiding. so i would like to make that spread background into transparent. how can i do it?

     

    Ravi

     

  • Posted 8 September 2017, 4:32 am EST

    Ravi -

    You need to set the BackColor for the DefaultStyle of the sheet(s) and set it to Color.FromArgb(x,x,x,x) where the first x is the opacity you want to use.

  • Posted 8 September 2017, 4:32 am EST

    Hi

       it is working but it is transparent to that particular spread only. but i have placed a image in windows application form, then i have placed a spread in form. then form background image should be visible i.e Spread should be transparent to the form. plz tell me how can i do this ?

    with expecting reply

    Ravi

     

  • Posted 8 September 2017, 4:32 am EST

    Ravi -

    Not sure what you mean by 'transparent to that particular spread only'.  What else is it supposed to be transparent to?

  • Posted 31 August 2018, 11:04 am EST

    I think I may be having the same problem where I put the Spread control over a PictureBox and I cannot make the Spread Control transparent so I can see part of the image behind it. I suspect that I’m being blind to something as I have been using the Spread COM control for many years and am new to VB.NET. I tried “Spread1.BackColor = Color.Trasnparent” and also tried “Spread1.BackColor = Color.FromArgb(0, 255, 255, 255)”.

    Are there other steps that I need?

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels