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
Copy file name to clipboardExpand all lines: NanoXLSX.Core/Styles/Fill.cs
+13-2Lines changed: 13 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -137,7 +137,6 @@ public Fill(string foreground, string background)
137
137
{
138
138
BackgroundColor=Color.CreateRgb(background);
139
139
ForegroundColor=Color.CreateRgb(foreground);
140
-
// IndexedColor = DefaultIndexedColor;
141
140
PatternFill=PatternValue.Solid;
142
141
}
143
142
@@ -267,7 +266,19 @@ public static implicit operator Fill(string value)
267
266
}
268
267
269
268
/// <summary>
270
-
/// Implicit operator to create a Fill object from an indexed color value as foreground color with <see cref="FillType.FillColor"/>
269
+
/// Implicit operator to create a Fill object from an indexed color value (<see cref="IndexedColor.Value"/>) as foreground color with <see cref="FillType.FillColor"/>
270
+
/// </summary>
271
+
/// <param name="index">Color index (0 to 65)</param>
0 commit comments