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 10, 2006 12:53:20 PM(UTC)
imad khan

Groups: Registered
Posts: 12


LeadTools 14.0 VCL C++ Builder 6

In Annotation example for ruler tool, it provides ruler properties ( Ruler Dialog Box for Annotations) dialog to show and not to show length when a ruler annotation is drawn.

How can i do this through the code, i found some functions in LTAnn.h like

L_AnnSetText and L_AnnSetAutoFlags but did not work for me.

Thank you

 

 

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 10, 2006 1:44:02 PM(UTC)
imad khan

Groups: Registered
Posts: 12


I tried

L_ANnSetAutoFlags( l_handle, ANNCHANGE_RULER_SHOW_FLAGS, 0) //to set all show flags to false

 L_ANnSetAutoFlags( l_handle, ANNSHOW_LENGTH, 0 ) //to turn off show length.

Please let me know, how to use L_ANnSetAutoFlags as the above stuff did not work.

Thanks a lot

Imad

 

 
#3 Posted : Sunday, August 13, 2006 4:31:08 AM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,326

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

Hello,

If you mean that you want to avoid showing the ruler length, you may try to use the L_AnnSetShowFlags functions, which determines how the rulers will be displayed. To disable showing the ruler length or the ruler gauge or the tic marks you need to pass 0 to the uShowFlags parameter.

Please let me know if this helps.

Thanks,
Maen Badwan
LEADTOOLS Technical Support
 
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.050 seconds.