public virtual Shapes.DiagramShape Copy(Shapes.DiagramShape obj) { if (obj == null) { return(null); } Shapes.DiagramShape obj1 = this[obj] as Shapes.DiagramShape; if (obj1 == null) { obj1 = obj.CopyObject(this); } return(obj1); }