You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Borders can be applied to various document elements including paragraph, run of text inside a paragraph or a table cell.
40
41
*/
41
42
exportclassBorderextendsLinkElement{
42
43
/**
@@ -94,21 +95,25 @@ export class Border extends LinkElement {
94
95
95
96
/**
96
97
* Gets or sets the distance of the border from text or from the page edge in points.
98
+
* Has no effect and will be automatically reset to zero for borders of table cells.
97
99
*/
98
100
publicdistanceFromText: number;
99
101
100
102
/**
101
103
* Gets or sets the border style.
104
+
* If you set line style to none, then line width is automatically changed to zero.
102
105
*/
103
106
publiclineStyle: Border.LineStyleEnum;
104
107
105
108
/**
106
109
* Gets or sets the border width in points.
110
+
* If you set line width greater than zero when line style is none, the line style is automatically changed to single line.
107
111
*/
108
112
publiclineWidth: number;
109
113
110
114
/**
111
115
* Gets or sets a value indicating whether the border has a shadow.
116
+
* In Microsoft Word, for a border to have a shadow, the borders on all four sides (left, top, right and bottom) should be of the same type, width, color and all should have the Shadow property set to true.
0 commit comments