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 : Wednesday, January 30, 2013 10:26:08 AM(UTC)
tbecker82

Groups: Registered
Posts: 30


Hi

I am trying to figure how to access the measurement text of a AnnRulerObject.

I have a requirement where I need to change the measurement units between metric and english
and need to update any already existing annotations.

I am sure it is something simple I am missing, but I can't figure out where to access the string
that has the measurement text.  If you could point me in the right direction I would appreciate it.

I am using Leadtools v 17.5 .Net libraries with C#.

Thanks

Tony
 

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, January 31, 2013 6:19:21 AM(UTC)

Daoud  
Daoud

Groups: Registered
Posts: 256


Tony,
You can change the measurement unit of the AnnRulerObject by accessing AnnRulerObject.MeasurementUnit property. To change the unit for all the objects, you will need to access them one by one and change the value of the property. You can do this using a for loop to access all Ruler objects in the container.

 
#3 Posted : Thursday, January 31, 2013 8:26:02 AM(UTC)
tbecker82

Groups: Registered
Posts: 30


Daoud

Thanks.  I didn't know that changing that would automatically update the length.
 
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-2019, Yet Another Forum.NET
This page was generated in 0.087 seconds.