コード例 #1
0
ファイル: DxfLayout.cs プロジェクト: 15831944/WW
        public override IGraphCloneable Clone(CloneContext cloneContext)
        {
            DxfLayout dxfLayout = (DxfLayout)cloneContext.GetExistingClone((IGraphCloneable)this);

            if (dxfLayout == null)
            {
                dxfLayout = new DxfLayout();
                cloneContext.RegisterClone((IGraphCloneable)this, (IGraphCloneable)dxfLayout);
                dxfLayout.CopyFrom((DxfHandledObject)this, cloneContext);
            }
            return((IGraphCloneable)dxfLayout);
        }