在用户切换到其他布局后触发。 支持的平台:仅窗口 签名工 务 局: object.LayoutSwitched(LayoutName)
言论显示模式对话框时不会触发任何事件。 例子工 务 局: Private Sub AcadDocument_LayoutSwitched(ByVal LayoutName As String) ' This example intercepts a drawing LayoutSwitched event. ' ' This event is triggered when the user switches to a different ' drawing layout view. ' ' To trigger this example event: Open a drawing and change its layout view ' ' For example: Switch the drawing from Model view to Layout1 view ' Use the "LayoutName" variable to determine the which layout view we changed to MsgBox "The drawing layout was just changed to: " & LayoutName End Sub Visual LISP: Not available |
|Archiver|CAD开发者社区 ( 苏ICP备2022047690号-1 苏公网安备32011402011833)
GMT+8, 2025-1-8 19:44
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.