2021 Class
Changes 0
C

DocumentCreatingEventArgs

Description:
The event arguments used by the DocumentCreating event.
Inheritance Hierarchy:
System.Object
  System.EventArgs
    Autodesk.Revit.DB.Events.RevitAPIEventArgs
      Autodesk.Revit.DB.Events.RevitAPIPreEventArgs
        Autodesk.Revit.DB.Events.DocumentCreatingEventArgs
Name Return Type Description Inherited From
M Dispose() None Releases all resources used by the RevitAPIEventArgs
M IsCancelled() bool Indicates whether the event is being cancelled. RevitAPIEventArgs
M Cancel() None When the event is cancellable, may call the Cancel() method to cancel it. RevitAPIPreEventArgs
Name Return Type Description Inherited From
P DocumentType DocumentType Type of the document which is about to be created, e.g. Project or Template.
P Template string The template file path to be used for creating the new document.
P Cancellable bool Indicates whether an event may be cancelled by an event delegate. RevitAPIEventArgs
P IsValidObject bool Specifies whether the .NET object represents a valid Revit entity. RevitAPIEventArgs