Hello,
I don't know if this is possible to achieve using Infragistics Excel worksheet.
I have to format the text in a single cell with different styles (not the whole content, just some words), for example the content of the cell could be
"This is the plain text"
And I want the words "plain" an "This" formatted in bold.
In Excel this is possible by selecting the cell, then highlighting the words "plain" or "This" and then selecting the Bold value.
Can I do this programmatically?
Thanks
Claudio Di Flumeri
Hi Claudio,
You can use the FormattedString to apply styles to portions of the text. Take a look at the following links where it is explained (specifically item k.)
Applying Styles to Cell
http://help.infragistics.com/NetAdvantage/WinForms/2010.2/CLR2.0/?page=ExcelEngine_Applying_Styles_to_Cells.html
Excel.FormattedString
http://help.infragistics.com/NetAdvantage/WinForms/2010.2/CLR2.0/?page=Infragistics2.Excel.v10.2~Infragistics.Excel.FormattedString.html
Let me know if you have further questions.