Наследование: System.Collections.CollectionBase
Пример #1
0
        /// <summary>
        /// close object
        /// </summary>
        /// <returns>new object</returns>
        public RTFFontTable Clone()
        {
            var table = new RTFFontTable();

            foreach (RTFFont item in this)
            {
                var newItem = item.Clone();
                table.List.Add(newItem);
            }
            return(table);
        }
Пример #2
0
 /// <summary>
 /// close object
 /// </summary>
 /// <returns>new object</returns>
 public RTFFontTable Clone()
 {
     RTFFontTable table = new RTFFontTable();
     foreach (RTFFont item in this )
     {
         RTFFont newItem = item.Clone();
         table.List.Add(newItem);
     }
     return table;
 }