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 : Friday, May 16, 2008 5:46:46 AM(UTC)

rburrow  
rburrow

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.
 

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 : Monday, May 19, 2008 4:55:31 AM(UTC)

Qasem Lubani  
Guest

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)

rburrow  
rburrow

Groups: Registered
Posts: 15


Is there an example of this anywhere?
 
#4 Posted : Tuesday, May 20, 2008 5:05:00 AM(UTC)

Qasem Lubani  
Guest

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.

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