This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Monday, July 23, 2007 5:26:04 AM(UTC)
Groups: Registered
Posts: 49
Hi,
I am using annotation's text object to draw text on image,it will open one Text Properties window i want to handle that window i.e object of that window to make color of text transperent,how should i do it? or how should i get access to the string which is drawn on image using annotations text object so that i will set it's properties?
I am using leadtools 15 and c# .net.Reply ASAP
Thanks
Sandeep
#2
Posted
:
Tuesday, July 24, 2007 8:59:11 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
Sandeep,
You can set the brush color and transparency level for the
annotation objects. You can use change these properties using the annotation
properties dialog using these steps:
- Draw a text annotation object on an image
- Right click on the text object and open the properties
dialog
- Go to the Brush tab
- Check the "Use Brush" checkbox
- Set the "Type" to solid
- Use the desired color you want and change the Alpha value
to control the transparency of the text object
If this is not what you need, please explain it in more
detail.
#3
Posted
:
Tuesday, July 24, 2007 8:29:06 PM(UTC)
Groups: Registered
Posts: 49
No i want to set those properties through code,i want user to only insert text and all tasks like setting alpha value,rotaing text by angle have to done by me so that i need object of that properties window through code not on image,is there any way to override this propety window or how should i set my own property window which allow user to do same things as annotation text object like rotating text after it is set,setting alpha value etc.Please reply soon.
Thanks
Sandeep
#4
Posted
:
Thursday, July 26, 2007 7:04:53 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
Sandeep,
The annotation object's TextColor property is of type System.Drawing.Color. This property can be
used to set the color value, including the Alpha component for the color.
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.