C1FlexViewer Hide All Toolbars

Posted by: mwebster on 11 July 2019, 4:02 pm EST

    • Post Options:
    • Link

    Posted 11 July 2019, 4:02 pm EST

    Hello,

    I am working on an application using the C1Flexviewer (Windows Forms Edition) and I need to hide all of the toolbars. I am using the C1FlexViewer to show what is effectively a thumbnail of a PDF and in order for it to look like it should, I need to eliminate all of the toolbars. I can see how to turn off individual buttons but not how to get rid of the toolbars altogether. Any suggestions?

    Thanks,

    Mike

  • Posted 12 July 2019, 1:20 am EST

    Hello Mike,

    To not see the Ribbon (toolbar, as you mention), you can set its visibility to false as follows:

     viewer.Ribbon.Visible = false;
    
    ```Here, viewer is a C1FlexViewer instance.
    
    Thanks,
    Esha
  • Posted 12 July 2019, 8:11 am EST

    Fantastic! Thanks!

    Mike

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels