Skip to content

Commit c447e55

Browse files
committed
Added forgotten file
1 parent 04a56ec commit c447e55

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)