public void Load(DocumentReader reader) { Color = reader.ReadColor(); LineWeight = reader.ReadFloat(); DashStyle = (DashStyle)reader.ReadInt(); }