[英]Hiding a Master Shape in Stencil in Visio
是否可以在模具中隐藏一个主形状,以使用户无法将其拖放到其图上,同时仍然允许我以编程方式在图中使用该对象?
You can do this by setting the Master's Hidden Property . 您可以通过设置“主人的隐藏属性”来实现 。 This can't be set the the UI but it is easy to set in the VBA Immediate window with a statement like this:
不能在UI中设置此设置,但可以使用以下语句在VBA立即窗口中轻松设置:
Visio.ActiveDocument.Masters("MyMaster").Hidden = True
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.