Save
Saves changes to the specified document.
Parameters:
This method doesn't have any parameters.
Returns:
-
This method doesn't return any data.
Example
Copy code
builder.CreateFile("docx");
var oDocument = Api.GetDocument();
var oParagraph = oDocument.GetElement(0);
oParagraph.AddText("This sample text is saved to the document.");
Api.Save();
builder.SaveFile("docx", "Save.docx");
builder.CloseFile();
Resulting document