Inheritance: System.Collections.CollectionBase
Exemplo n.º 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);
        }
Exemplo n.º 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;
 }