Aspose.PDF .NET 10.4
Why does this not work? I should have 2 different colors next to each other.
Table table = new Table();
Row row = table.Rows.Add();
Cell cell = row.Cells.Add();
TextSegment name = new TextSegment("START");
name.TextState.FontSize = 13.5f;
name.TextState.ForegroundColor = Color.White;
TextSegment rm = new TextSegment("END");
rm.TextState.FontSize = 10f;
rm.TextState.ForegroundColor = Color.Green;
TextFragment title = new TextFragment();
title.Segments.Add(name);
title.Segments.Add(rm);
cell.Paragraphs.Add(title);