Owner

Namespace: Digi21.DigiNG.Entities
Assembly: Digi21.DigiNG

Drawing file to which the entity belongs.

public IDrawingFile Owner { get; }

Property value

The IDrawingFile from which the entity was read or to which it was added, or null if the entity belongs to no file: an entity created with a constructor that has not yet been added to a file, or a copy made with Clone().

While Owner is not null, the entity is read-only (ReadOnly). A drawing file does not accept entities belonging to another file: add the copy returned by Clone().