Inheritance: System.Collections.CollectionBase
Beispiel #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);
        }
 /// <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;
 }