Beispiel #1
0
 /**
  * Makes a copy of the given RtfBorder
  *
  * @param doc The RtfDocument this RtfBorder belongs to
  * @param borderType The border type of this RtfBorder
  * @param border The RtfBorder to copy
  */
 protected internal RtfBorder(RtfDocument doc, int borderType, RtfBorder border) : base(doc)
 {
     this.borderType     = borderType;
     this.borderPosition = border.GetBorderPosition();
     this.borderStyle    = border.GetBorderStyle();
     this.borderWidth    = border.GetBorderWidth();
     this.borderColor    = new RtfColor(this.document, border.GetBorderColor());
 }
Beispiel #2
0
 /**
 * Makes a copy of the given RtfBorder
 *
 * @param doc The RtfDocument this RtfBorder belongs to
 * @param borderType The border type of this RtfBorder
 * @param border The RtfBorder to copy
 */
 protected internal RtfBorder(RtfDocument doc, int borderType, RtfBorder border)
     : base(doc)
 {
     this.borderType = borderType;
     this.borderPosition = border.GetBorderPosition();
     this.borderStyle = border.GetBorderStyle();
     this.borderWidth = border.GetBorderWidth();
     this.borderColor = new RtfColor(this.document, border.GetBorderColor());
 }