< Rev API Docs

The DocumentOpeningEventArgs 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, e.g. Project or Template.
Public propertyIsValidObject
Specifies whether the .NET object represents a valid Revit entity.
(Inherited from RevitAPIEventArgs.)
Public propertyPathName
Path of the document to be opened.

See Also