SR
Sridhar
Syncfusion Team
February 16, 2011 01:21 PM UTC
Hi Mark,
We highly regret for the inconvenience.
We have created the workaround to modify the Text Box’s font style. Please get the workaround and let us know if this helps you
Please follow up the Incident 76970 for more details on this reported issue.
Workaround:
C# Code:
IWorksheet sourceWSheet = sourceWorkbook.Worksheets[0];
IChart chart = sourceWSheet.Charts[0];
ITextBoxes textBoxes = chart.TextBoxes;
int count = chart.TextBoxes.Count;
for (int i = 0; i < count; i++)
{
ITextBox textBox = textboxes[i];
IFont newFont = destWorkbook.CreateFont();
newFont.Size = 11;
textBox.RichText.SetFont(0, 5, newFont);
}
Please let us know if you have any clarifications.
Thanks,
Sridhar.S