back color of label displayed by markstip tool
back color of label displayed by markstip tool
Is there anyway to change the back color and text color of the label displayed by MarksTip tool?
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Lakshmi,
You can achieve that using annotation tool as I told you in your other post. The specific code for doing that is:
You can achieve that using annotation tool as I told you in your other post. The specific code for doing that is:
Code: Select all
annotation1.Shape.Color=Color.Blue;
annotation1.Shape.Font.Color=Color.Yellow;
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 |
Border color for the annotation tool
Thanks Narcis for suggesting the annotation tool.
By default the annotation tool has a back ground color of white and text color as black and border around the text shape appears black.
Now using the below code as suggested by you, if make the back color as black and text color as white it works, but I am unable to see the border around the annotation.
How do I set the border color?
By default the annotation tool has a back ground color of white and text color as black and border around the text shape appears black.
Now using the below code as suggested by you, if make the back color as black and text color as white it works, but I am unable to see the border around the annotation.
How do I set the border color?
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Lakshmi,
You're welcome.
To set the border color you need to use:
You're welcome.
To set the border color you need to use:
Code: Select all
annotation1.Shape.Pen.Color=Color.Red;
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 |