public override Object Clone()
 {
     PageBreakRecord result = new VerticalPageBreakRecord();
     IEnumerator<Break> iterator = GetBreaksEnumerator();
     while (iterator.MoveNext())
     {
         Break original = iterator.Current;
         result.AddBreak(original.main, original.subFrom, original.subTo);
     }
     return result;
 }
        public override Object Clone()
        {
            PageBreakRecord     result   = new VerticalPageBreakRecord();
            IEnumerator <Break> iterator = GetBreaksEnumerator();

            while (iterator.MoveNext())
            {
                Break original = iterator.Current;
                result.AddBreak(original.main, original.subFrom, original.subTo);
            }
            return(result);
        }