Beispiel #1
0
        public DxfTableRow Clone(CloneContext cloneContext)
        {
            DxfTableRow dxfTableRow = new DxfTableRow();

            dxfTableRow.CopyFrom(cloneContext, this);
            return(dxfTableRow);
        }
Beispiel #2
0
 public void CopyFrom(CloneContext cloneContext, DxfTableRow from)
 {
     foreach (DxfTableCell dxfTableCell in (List <DxfTableCell>)from.dxfTableCellCollection_0)
     {
         this.dxfTableCellCollection_0.Add(dxfTableCell.Clone(cloneContext));
     }
     this.dxfTableCellStyle_0 = (DxfTableCellStyle)cloneContext.Clone((IGraphCloneable)from.dxfTableCellStyle_0);
     this.dxfTableCellStyle_1 = cloneContext.SourceModel != cloneContext.TargetModel ? (DxfTableCellStyle)cloneContext.Clone((IGraphCloneable)from.dxfTableCellStyle_1) : from.dxfTableCellStyle_1;
     this.int_0 = from.int_0;
     foreach (DxfTableCustomData dxfTableCustomData in (List <DxfTableCustomData>)from.dxfTableCustomDataCollection_0)
     {
         this.dxfTableCustomDataCollection_0.Add(dxfTableCustomData);
     }
     this.double_0 = from.double_0;
 }