We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Converting obsolete methods

We recently upgraded to Aspose Total. I have been through the documentation but I can't find exactly what I need to do to convert Save Method (String, Char) to the new method. I still need to be able to add a custom seperator. Can you please tell me how to do this?


See the following sample code for your reference:

orkbook workbook = new Workbook();
Cells cells = workbook.Worksheets[0].Cells;
cells[“A1”].PutValue(“Hello world”);
for (int i = 1; i <= 10; i++)
cells[0, i].PutValue(i);

TxtSaveOptions options = new TxtSaveOptions();
//Specify the separator.
options.Separator = Convert.ToChar("|");
workbook.Save(“e:\test\abc.txt”, options);

Thank you.