Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Monday, July 23, 2007 5:26:04 AM(UTC)

manju  
manju

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
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Tuesday, July 24, 2007 8:59:11 AM(UTC)

Adnan Ismail  
Guest

Groups: Guests
Posts: 3,034

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)

manju  
manju

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)

Adnan Ismail  
Guest

Groups: Guests
Posts: 3,034

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.

Powered by YAF.NET | YAF.NET © 2003-2020, Yet Another Forum.NET
This page was generated in 0.076 seconds.