private void GetProperties(sp.Shape shp) { List <string> proplist = new List <string>(); var Dimprops = shp.GetType().GetProperties().Where( prop => Attribute.IsDefined(prop, typeof(sp.DimensionAttribute))); foreach (PropertyInfo prop in Dimprops) { proplist.Add(prop.Name); } _shapeprops = proplist; }
private void GetPoints(sp.Shape shape) { _pointlist = shape.ShapePointList; }