< Rev API Docs

The DocumentCreatingEventArgs type exposes the following members.

Properties

  NameDescription
Public propertyCancellable
Indicates whether an event may be cancelled by an event delegate.
(Inherited from RevitAPIEventArgs.)
Public propertyDocumentType
Type of the document which is about to be created, e.g. Project or Template.
Public propertyIsValidObject
Specifies whether the .NET object represents a valid Revit entity.
(Inherited from RevitAPIEventArgs.)
Public propertyTemplate
The template file path to be used for creating the new document.

See Also