PreDocEventArgs
Description:
The class is used as base class for the arguments of any pre-event arguments that is associated to a particular Document.
The class is used as base class for the arguments of any pre-event arguments that is associated to a particular Document.
Inheritance Hierarchy:
System.Object
System.EventArgs
Autodesk.Revit.DB.Events.RevitEventArgs
Autodesk.Revit.DB.Events.PreEventArgs
Autodesk.Revit.DB.Events.PreDocEventArgs
System.Object
System.EventArgs
Autodesk.Revit.DB.Events.RevitEventArgs
Autodesk.Revit.DB.Events.PreEventArgs
Autodesk.Revit.DB.Events.PreDocEventArgs
public class PreDocEventArgs : PreEventArgs
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| Document | Document | The document associated with the event. | |
| Cancellable | bool | Indicates whether an event may be cancelled by an event delegate. | RevitEventArgs |
| Cancel | bool | Indicates whether the event is being cancelled. When the event is cancellable, set the property to True to cancel it. | RevitEventArgs |