jt
2021-06-10 5d0d028456874576560552f5a5c4e8b801786f11
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
using System.Drawing;
 
namespace Novacode
{
    /// <summary>
    /// Represents a border of a table or table cell
    /// Added by lckuiper @ 20101117
    /// </summary>
    public class Border
    {
        public BorderStyle Tcbs { get; set; }
        public BorderSize Size { get; set; }
        public int Space { get; set; }
        public Color Color { get; set; }
        public Border()
        {
            this.Tcbs = BorderStyle.Tcbs_single;
            this.Size = BorderSize.one;
            this.Space = 0;
            this.Color = Color.Black;
        }
 
        public Border(BorderStyle tcbs, BorderSize size, int space, Color color)
        {
            this.Tcbs = tcbs;
            this.Size = size;
            this.Space = space;
            this.Color = color;
        }
    }
}