Exemple #1
0
        public override void CopyFrom(DxfHandledObject from, CloneContext cloneContext)
        {
            base.CopyFrom(from, cloneContext);
            this.bool_0 = true;
            DxfDataTable dxfDataTable = (DxfDataTable)from;

            this.dxfDataColumnCollection_0.Clear();
            foreach (DxfDataColumn dxfDataColumn1 in (ActiveList <DxfDataColumn>)dxfDataTable.dxfDataColumnCollection_0)
            {
                DxfDataColumn dxfDataColumn2 = dxfDataColumn1.Clone(cloneContext);
                this.dxfDataColumnCollection_0.Add(dxfDataColumn2);
                if (dxfDataColumn2.CellType == DataCellType.HardOwnerId || dxfDataColumn2.CellType == DataCellType.SoftOwnerId)
                {
                    foreach (DxfDataCell cell in (IEnumerable <DxfDataCell>)dxfDataColumn2.Cells)
                    {
                        (cell.Value as DxfDataCellValue.OwnerIdBase)?.Value.vmethod_2((IDxfHandledObject)this);
                    }
                }
            }
            this.int_0    = dxfDataTable.int_0;
            this.short_0  = dxfDataTable.short_0;
            this.string_0 = dxfDataTable.string_0;
            this.bool_0   = false;
        }
Exemple #2
0
 public Class273(DxfDataTable obj)
     : base((DxfObject)obj)
 {
 }