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 : Thursday, August 5, 2010 3:24:55 AM(UTC)

McV  
McV

Groups: Registered
Posts: 5


I am using the .NET Leadtools v17.

I have a question, how can i change the color for a selected annotation? For example a Line or some text.
 

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 : Thursday, August 5, 2010 5:39:42 AM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,326

Was thanked: 1 time(s) in 1 post(s)

You can change the color of the selected Annotation object by using this code:
+-----------+
private AnnAutomation AutomationAnn;
...
AutomationAnn.CurrentEditObject.Pen = new AnnPen(Color.White, new AnnLength(1, AnnUnit.Pixel));
...
rasterImageViewer1.Refresh();  
+-----------+

Thanks,
Maen Badwan
LEADTOOLS Technical Support
 
#3 Posted : Friday, August 6, 2010 12:27:18 AM(UTC)

McV  
McV

Groups: Registered
Posts: 5


Thx I got it working now.
 
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-2024, Yet Another Forum.NET
This page was generated in 0.085 seconds.