We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 04a56ec commit c447e55Copy full SHA for c447e55
1 file changed
src/EPPlus.Fonts.OpenType/Integration/DataHolders/TextFragmentCollectionSimple.cs
@@ -0,0 +1,20 @@
1
+using OfficeOpenXml.Interfaces.Drawing.Text;
2
+using System;
3
+using System.Collections.Generic;
4
+using System.Linq;
5
+using System.Text;
6
+
7
8
+namespace EPPlus.Fonts.OpenType.Integration
9
+{
10
+ public class TextFragmentCollectionSimple : List<TextFragment>, IEnumerable<TextFragment>
11
+ {
12
+ public TextFragmentCollectionSimple(List<MeasurementFont> fonts, List<string> texts) : base()
13
14
+ for (int i = 0; i< fonts.Count; i++)
15
16
+ Add(new TextFragment() { Font = fonts[i], Text = texts[i] });
17
+ }
18
19
20
+}
0 commit comments