sashar2
February 8, 2008, 10:00am
1
Greetings.
When it is planned to add method Characters for class TextBox? It is necessary for me. Now, how much I know, it exists only for class Cell. Without this method purchase of your product will be for me senseless.
Yours faithfully, Alexander.
Hi Alexander,
Thanks for your inquiry.
We will support this feature soon for your demand.
Thank you.
Warren
February 11, 2008, 4:01am
4
Hi Alexander,
Please try this fix.
See following codes:
Workbook workbook = new Workbook(); // workbook.Open(@"F:\FileTemp\Example Template.xls"); TextBoxes textBoxes = workbook.Worksheets[0].TextBoxes; textBoxes.Add(0, 0, 100, 100); TextBox textBox = textBoxes[0]; textBox.Text = "This is a test";
textBox.Characters(0, 10).Font.IsItalic = true; textBox.Characters(10, 4).Font.IsBold = true;
workbook.Save(@"F:\FileTemp\dest.xls");
Thank you.
It works.
P.S>
I cant forgot password...