I have a requirement to change the file owner name when CSV export.
Could you help me is there a way to change the file owner name from aspose.
I am attaching here screenshot for reference.
csv.zip (281 Bytes)
@manikandan1234
The owner information will not be saved in the CSV file. If you need to save to another format, such as xlsx format. You can refer to the following example code.
Workbook wb = new Workbook(filePath + "csv.csv");
Console.WriteLine("owner: " + wb.BuiltInDocumentProperties.Author);
wb.BuiltInDocumentProperties.Author = "aaa";
wb.Save(filePath + "csv_out.xlsx");
wb = new Workbook(filePath + "csv_out.xlsx");
Console.WriteLine("owner: " + wb.BuiltInDocumentProperties.Author);
The output:
owner:
owner: aaa
Hope helps a bit.
@manikandan1234
You are welcome. If you have any questions, please feel free to contact us at any time.