ReadOnly
Namespace: Digi21.DigiNG.Entities
Assembly: Digi21.DigiNG
Indicates whether the entity is read-only.
public bool ReadOnly { get; }
Property value
true if Owner is not null, meaning the entity belongs to a drawing file.
In a read-only entity, the set accessors of Color, Weight and FillColor, methods modifying Codes, and members modifying geometry (Points, Holes, Entities, Offset, Close, ChangeDirection, Coordinate, Rotation…) throw InvalidOperationException. An entity of type Line, Polygon or another read/write type is also read-only if it belongs to a file.