LEADTOOLS Support
Document
Document SDK Questions
How to Turn off Show Length in Ruler Properties
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Thursday, August 10, 2006 12:53:20 PM(UTC)
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
#2
Posted
:
Thursday, August 10, 2006 1:44:02 PM(UTC)
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)
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
LEADTOOLS Support
Document
Document SDK Questions
How to Turn off Show Length in Ruler Properties
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.