I am able to change the color, font, size and text of a portion, but the FontBold property always remains false. Is there a way to format sections of text as bold?
I am evaluating Slides.Net 2.9, language is C# and looking to purchase ASAP.
Thanks.
Portion p = new Portion();
FontEntity fntEnt = pres.Fonts[0];
FontEntity fntEntNew = new FontEntity(pres, fntEnt);
fntEntNew.FontName = "Times New Roman";
int newFontIdx = pres.Fonts.Add(fntEntNew);
p.FontIndex = newFontIdx;
p.FontColor = ColorTranslator.FromHtml(sColor);
p.FontBold = true;
p.Text = pText;
portions.Add(p);