Provides document information for RhinoDoc events.

Properties

Document

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

DocumentId

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

DocumentSerialNumber

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

FileName

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

Merge

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

Reference

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