How to use Visio API to show/hide toolbar in SharePoint online

Contributor

I need to show / hide toolbar of Visio on SharePoint Page.

I found that there are API's available ,but not getting enough information how to use it.

 

2 Replies

@KanchanKumbhar did you ever make this work?

I want to get rid of the empty space around the diagram as well as the scroll bars and the toolbar.

Thank you!

Hello @RitaKiss  , you can refer link to make it work.

 

https://github.com/pnp/sp-dev-fx-webparts/issues/1629

 

The solution mentioned here really work for me

https://github.com/nbelyh/VisioOnlineSpfxWebPart

 

I hope it will for you as well