Welcome to LEAD Support Forum Login | Register | Faq  

    LEAD Support Forum
  Resource to find answers and post technical questions about LEAD products.
Search    
   

Re: Customize annotation toolbar buttons
Started by roadman at 08-23-2008 3:30. Topic has 4 replies.

Print Search « Previous Thread Next Thread »
  08-23-2008, 3:30
roadman is not online. Last active: 12/12/2008 4:56:50 AM roadman

Top 25 Posts
Joined on 06-27-2007
Posts 104
Customize annotation toolbar buttons
Reply Quote
The LEADTool Annotation Toolbar is good and enough for me. However, I do want to know how can we customize the appearance of the toolbar buttons of the built-in toolbars?

e.g can we change the color/icon of the toolbar buttons? In what extend we can have customization it?
   Report 
  08-24-2008, 12:03
Qasem Lubani is not online. Last active: 12/21/2008 9:12:09 PM Qasem Lubani



Top 10 Posts
Joined on 08-13-2006
Posts 1,187
Re: Customize annotation toolbar buttons
Reply Quote

Yes you can add buttons, remove buttons, and also change the images of any button. For details, see the help topic for the AnnAutomationObject.ToolBarButton Property.


Qasem Al-Lubani
LEAD Technical Support
www.leadtools.com
   Report 
  09-01-2008, 5:18
roadman is not online. Last active: 12/12/2008 4:56:50 AM roadman

Top 25 Posts
Joined on 06-27-2007
Posts 104
Re: Customize annotation toolbar buttons
Reply Quote

I used the following coding to add the default toolbars:

            automationManager.CreateDefaultObjects();
            automationManager.CreateToolBar();

How can I remove some defaulted toolbar button (e.g. the Line ToolBar Button) from the toolbar?


   Report 
  09-01-2008, 6:01
roadman is not online. Last active: 12/12/2008 4:56:50 AM roadman

Top 25 Posts
Joined on 06-27-2007
Posts 104
Re: Customize annotation toolbar buttons
Reply Quote

In addition, how can i detect the drawing the the RasterImageViewer for the automated annotation?
I want to marked the image in RasterImageViewer as "modified" if user started drawing annotation on it.


   Report 
  09-01-2008, 7:41
Qasem Lubani is not online. Last active: 12/21/2008 9:12:09 PM Qasem Lubani



Top 10 Posts
Joined on 08-13-2006
Posts 1,187
Re: Customize annotation toolbar buttons
Reply Quote
For the button deletion, please refer to this forum post:

http://support.leadtools.com/SupportPortal/cs/forums/15243/ShowPost.aspx#15288


Qasem Al-Lubani
LEAD Technical Support
www.leadtools.com
   Report 
Post
LEAD Support Fo... » Developer » Annotations » Re: Customize annotation toolbar buttons

Powered by Community Server, by Telligent Systems