ReportItem IDeepCloneable.DeepClone()
        {
            if (!base.IsCustomControl)
            {
                throw new RenderingObjectModelException(ProcessingErrorCode.rsInvalidOperation);
            }
            Image image = new Image();

            DeepClone(image);
            Global.Tracer.Assert(m_internalImage != null && m_internalImage is ImageProcessing);
            image.m_internalImage = Processing.DeepClone();
            if (m_actionInfo != null)
            {
                image.m_actionInfo = m_actionInfo.DeepClone();
            }
            if (m_imageMap != null)
            {
                image.m_imageMap = m_imageMap.DeepClone();
            }
            return(image);
        }
        internal ImageMapArea DeepClone()
        {
            Global.Tracer.Assert(IsCustomControl);
            ImageMapArea imageMapArea = new ImageMapArea();

            imageMapArea.m_members = null;
            imageMapArea.m_shape   = m_shape;
            if (m_id != null)
            {
                imageMapArea.m_id = string.Copy(m_id);
            }
            if (m_coordinates != null)
            {
                imageMapArea.m_coordinates = new float[m_coordinates.Length];
                m_coordinates.CopyTo(imageMapArea.m_coordinates, 0);
            }
            if (m_actionInfo != null)
            {
                imageMapArea.m_actionInfo = m_actionInfo.DeepClone();
            }
            return(imageMapArea);
        }