示例#1
0
文件: DxfMText.cs 项目: 15831944/WW
        public override IGraphCloneable Clone(CloneContext cloneContext)
        {
            DxfMText dxfMtext = (DxfMText)cloneContext.GetExistingClone((IGraphCloneable)this);

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