Gets the current working designer.
Object.defineProperty(AnnAutomation.prototype, 'currentDesigner',
get: function()
)
currentDesigner: AnnDesigner; // read-only
The current working AnnDesigner derived object.
At any given time, the AnnAutomation object can have a working AnnDesigner derived object as follows:
Designer Base Class | Notes |
---|---|
null | (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 a AnnDrawDesigner derived class and subscribe to the AnnDrawDesigner.Draw event and so forth.
Alternatively, you can subscribe to this AnnAutomation object's Draw, Edit or Run events directly. This object will hook these events to the corresponding designer event automatically.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document