Tweak Visio 2013 context menu

484 Views Asked by At

Is it possible to disable some functions from the context menu in Visio 2013 for visio control?

I want to remove buttons for painting and changing shapes as I want to use only specific shapes in my visioControl.

enter image description here

1

There are 1 best solutions below

1
On

Found a solution for replace shape button. I can set PageLockReplace property of the pageSheet to TRUE:

visioControl1.Document.Pages[1].PageSheet.Cells["PageLockReplace"].FormulaU = "TRUE";