public override void CopyFrom(DxfHandledObject from, CloneContext cloneContext) { base.CopyFrom(from, cloneContext); DxfRasterVariables dxfRasterVariables = (DxfRasterVariables)from; this.int_0 = dxfRasterVariables.int_0; this.imageDisplayFrameFlag_0 = dxfRasterVariables.imageDisplayFrameFlag_0; this.imageDisplayQuality_0 = dxfRasterVariables.imageDisplayQuality_0; this.imageInsertionUnits_0 = dxfRasterVariables.imageInsertionUnits_0; }
public override IGraphCloneable Clone(CloneContext cloneContext) { DxfRasterVariables dxfRasterVariables = (DxfRasterVariables)cloneContext.GetExistingClone((IGraphCloneable)this); if (dxfRasterVariables == null) { dxfRasterVariables = new DxfRasterVariables(); cloneContext.RegisterClone((IGraphCloneable)this, (IGraphCloneable)dxfRasterVariables); dxfRasterVariables.CopyFrom((DxfHandledObject)this, cloneContext); } return((IGraphCloneable)dxfRasterVariables); }