Get Started
Documentation

Save

Save()

Saves changes to the specified document.

Example

Copy code
builder.CreateFile("xlsx");
oWorksheet = Api.GetActiveSheet();
oWorksheet.GetRange("A1").SetValue("This sample text is saved to the worksheet.");
Api.Save();
builder.SaveFile("xlsx", "Save.xlsx");
builder.CloseFile();

Resulting document