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

Free Support Forum - aspose.com

CSV workbook creation


I want to specify the delimiter of a CSV file before creating the workbook.
How to do that ?

Thanks in advance.


Thanks for your query.

See the following sample code segment for your reference:
Sample code:

TxtLoadOptions options = new TxtLoadOptions(LoadFormat.CSV);
Workbook workbook = new Workbook(stringFilePath, options);

Moreover, you may use TxtSaveOptions class and specify your desired options while saving/ converting to CSV file format.

Hope, this helps a bit.

Thank you.

Thanks for the prompt reply.


You are welcome. Feel free to contact us any time if you need further help or have some other issue or queries, we will be happy to assist you soon.

Thank you.