ObjectDocumentEventArgs

EventArgsReferences
Event arguments for IDocumentObject generic events.

Constructors

ObjectDocumentEventArgs

#
public ObjectDocumentEventArgs(IDocumentObject object, Document oldDocument, Document newDocument)
Create a new instance of the IDocumentObject document event arguments.
object (IDocumentObject)Object that raised the event.
oldDocument (Document)The document that used to own this object.
newDocument (Document)The document that now owns this object.

Properties

NewDocument

#
public Document NewDocument { get; }
Gets the document that now owns this object.

Object

#
public IDocumentObject Object { get; }
Gets the object that raised the event.

OldDocument

#
public Document OldDocument { get; }
Gets the document that used to own this object.