How can I change the transparency value of a shape. To change the transparency of the brush or of the pen do not work.
Thanks for your help, Markus
I am using version 1.1.1864.22788
Transparency TeeChart.Styles.Shape
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Markus,
You can do something like this:
or this:
You can do something like this:
Code: Select all
annotation1.Shape.Transparency = 80;
Code: Select all
annotation1.Shape.Transparent = true;
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Markus,
Yes, you are right. I thought you where speaking about generic TeeCahrt shapes. I've added the issue to our defect list (TF02011355) to be fixed for future releases. In the meantime, the solution is using:
Where the first parameter (alpha) indicates the transparency level.
Yes, you are right. I thought you where speaking about generic TeeCahrt shapes. I've added the issue to our defect list (TF02011355) to be fixed for future releases. In the meantime, the solution is using:
Code: Select all
shape1.Color = Color.FromArgb(150, 255, 0, 0);
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |