GetBorders() protected method

protected GetBorders ( ) : Hashtable
return System.Collections.Hashtable
 /// <summary>
 /// Constructs a RtfBorderGroup based on another RtfBorderGroup.
 /// </summary>
 /// <param name="doc">The RtfDocument this RtfBorderGroup belongs to</param>
 /// <param name="borderType">The type of borders this RtfBorderGroup contains</param>
 /// <param name="borderGroup">The RtfBorderGroup to use as a base</param>
 protected internal RtfBorderGroup(RtfDocument doc, int borderType, RtfBorderGroup borderGroup) : base(doc)
 {
     _borders    = new Hashtable();
     _borderType = borderType;
     if (borderGroup != null)
     {
         foreach (DictionaryEntry entry in borderGroup.GetBorders())
         {
             int       borderPos = (int)entry.Key;
             RtfBorder border    = (RtfBorder)entry.Value;
             _borders[borderPos] = new RtfBorder(Document, _borderType, border);
         }
     }
 }
 /**
 * Constructs a RtfBorderGroup based on another RtfBorderGroup.
 * 
 * @param doc The RtfDocument this RtfBorderGroup belongs to
 * @param borderType The type of borders this RtfBorderGroup contains
 * @param borderGroup The RtfBorderGroup to use as a base
 */
 protected internal RtfBorderGroup(RtfDocument doc, int borderType, RtfBorderGroup borderGroup) : base(doc) {
     this.borders = new Hashtable();
     this.borderType = borderType;
     if (borderGroup != null) {
         foreach (DictionaryEntry entry in borderGroup.GetBorders()) {
             int borderPos = (int)entry.Key;
             RtfBorder border = (RtfBorder)entry.Value;
             this.borders[borderPos] = new RtfBorder(this.document, this.borderType, border);
         }
     }
 }