Skip to content

Commit 32b8d2a

Browse files
author
Openize Words
authored
Merge pull request #20 from sabir-gmail/v24.7.0
Update Openize.Words.IElements.cs
2 parents 14107a4 + bf707b0 commit 32b8d2a

File tree

1 file changed

+23
-6
lines changed

1 file changed

+23
-6
lines changed

Openize.Words.IElements.cs

Lines changed: 23 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public class Indentation
4040

4141
//public Indentation()
4242
//{
43-
//Left = 0;
43+
//Left = 0;
4444
//}
4545
}
4646

@@ -76,32 +76,49 @@ public enum ParagraphAlignment
7676
public enum BorderWidth
7777
{
7878
/// <summary>
79-
/// Aligns the paragraph to the left.
79+
/// Single width border/frame.
8080
/// </summary>
8181
Single,
8282

8383
/// <summary>
84-
/// Centers the paragraph within the available space.
84+
/// Double width border/frame.
8585
/// </summary>
8686
Double,
8787

8888
/// <summary>
89-
/// Aligns the paragraph to the right.
89+
/// Dotted style border/frame.
9090
/// </summary>
9191
Dotted,
9292

9393
/// <summary>
94-
/// Justifies the text within the paragraph, aligning both the left and right edges.
94+
/// DotDash style border/frame.
9595
/// </summary>
9696
DotDash
9797
}
9898

99+
/// <summary>
100+
/// Represents border/frame of an element within word document.
101+
/// </summary>
99102
public class Border
100103
{
104+
/// <summary>
105+
/// Gets or sets the border width.
106+
/// </summary>
101107
public BorderWidth Width { get; set; }
108+
109+
/// <summary>
110+
/// Gets or sets the border color.
111+
/// </summary>
102112
public string Color { get; set; }
113+
114+
/// <summary>
115+
/// Gets or sets the border color.
116+
/// </summary>
103117
public int Size { get; set; }
104118

119+
/// <summary>
120+
/// Constructor for border.
121+
/// </summary>
105122
public Border()
106123
{
107124
Size = 0;
@@ -174,7 +191,7 @@ public class Paragraph : IElement
174191
public bool IsAlphabeticNumber { get; set; }
175192

176193
/// <summary>
177-
/// Gets or sets whether the paragraph border.
194+
/// Gets or sets the paragraph border.
178195
/// </summary>
179196
public Border ParagraphBorder { get; set; }
180197

0 commit comments

Comments
 (0)