This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Friday, May 16, 2008 5:46:46 AM(UTC)
Groups: Registered
Posts: 15
I am using Leadtools V15. VB.Net. I am using Automation Annotations but I need to be able to let the user set the default text and color.
#2
Posted
:
Monday, May 19, 2008 4:55:31 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
You need to handle the edit event of the current AnnEditDesigner class. This event gives you the ability to control the object properties such as (Text and its color). For example, you can change the text color by handling the TextColor property of the AnnObject. For more information please see the following help topics in the .Net help file.
1.AnnAutomation.CurrentDesigner property.
2.AnnEditDesigner.edit event.
3.AnnEditDesignerEventArgs Class
#3
Posted
:
Monday, May 19, 2008 8:53:52 AM(UTC)
Groups: Registered
Posts: 15
Is there an example of this anywhere?
#4
Posted
:
Tuesday, May 20, 2008 5:05:00 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
Currently
I do not have a code sample that does exactly this. However, you can refer to the
OnDesignerEdit function in the code sample section of the AnnDesigner Class
help topic.
Try to handle the event and change the properties when
it gets triggered.
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.