Hi All,
I am trying to use the said Event to controls my ltscale.
i.e. When I switch from ModelSpace to Paperspace set it and the reverse when switching back.
(LayoutManager.Current.LayoutSwitched)
It seam to be that the Layout Manager is global for all files that get opened.
Does anyone have any experience with this?
Also if I use:
RemoveHandler LayoutManager.Current.LayoutSwitched, AddressOf P3.CalculateNewProposedLtAndDimScales
I get a warning.
The 'AddressOf' expression has no effect in this context because the method argument to 'AddressOf' requires a relaxed conversion to the delegate type of the event. Assign the 'AddressOf' expression to a variable, and use the variable to add or remove the method as the handler.
Any ideas?