| Visual Basic | |
|---|---|
Public Delegate Sub _IApplicationEvents_CommandPreNotifyEventHandler( _ ) | |
| C# | |
|---|---|
public delegate void _IApplicationEvents_CommandPreNotifyEventHandler( ) | |
| JavaScript | |
|---|---|
Event Not Supported ) | |
| COM native C++ | |
|---|---|
CommandPreNotify( CommandName, Document ) | |
| C++ | |
|---|---|
CommandPreNotify( ) | |
Parameters
- CommandName
- Name of command about to execute
- Document
- Document in which command is about to execute (see Remarks)
If developing a C++ application, then use dsApplication_CommandPreNotify_id to register for this notification. See Getting Started for more information about C++ interface add-in template callback functions.
Document is 0 for commands exectued without an open document (i.e., NEW).
_IApplicationEvents_CommandPreNotifyEventHandler Members
Interop.dsAutomation Namespace
IApplication Event CommandCancelNotify
IApplication Event CommandPostNotify
Interop.dsAutomation Namespace
IApplication Event CommandCancelNotify
IApplication Event CommandPostNotify
DraftSight V1R3.0
Syntax