Provides document information for RhinoDoc events.

Properties

Document

Gets the document for this event. This field might be null.
public RhinoDoc Document { get; }
inherited fromDocumentEventArgs

DocumentId

Gets the document Id of the document for this event.
obsoleteUse DocumentSerialNumber or Document properties
inherited fromDocumentEventArgs

DocumentSerialNumber

Gets the unique document serial number for this event
[CLSCompliant(false)] public uint DocumentSerialNumber { get; }
inherited fromDocumentEventArgs

FileName

#Since v5.0
Name of file being opened.
public string FileName { get; }

Merge

#Since v5.0
true if file is being merged into the current document. This occurs during the "Import" command.
public bool Merge { get; }

Reference

#Since v5.0
true if file is opened as a reference file.
public bool Reference { get; }