Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.5.2
|
Leadtools.Annotations Namespace > AnnAutomation Class : CurrentDesignerChanged Event |
public event EventHandler CurrentDesignerChanged
'Declaration Public Event CurrentDesignerChanged As EventHandler
'Usage Dim instance As AnnAutomation Dim handler As EventHandler AddHandler instance.CurrentDesignerChanged, handler
public: event EventHandler^ CurrentDesignerChanged
At any given time, the AnnAutomation can have a working AnnDesigner derived object as follows:
Designer Base Class | Notes |
---|---|
null (Nothing in Visual Basic) | (Design and Run user mode) no designer is currently active. |
AnnDrawDesigner | (Design user mode) The AnnAutomation is currently drawing or about to draw a new object |
AnnEditDesigner | (Design user mode) One or more objects are currently being edited or are about to be edited |
AnnRunDesigner | (Run user mode) An object is currently being run or about to be run |
This property allows you to hook into the current designer and change or monitor its status while it is running. For example, you can determine if CurrentDesigner is an AnnDrawDesigner derived class and subscribe to the Draw event and so forth.