TRY NEW VERSION

Try now New API BETA

Try out the new view and capabilities of the API documentation

START

CloseFile

def CloseFile(self);

Closes the file to stop working with it. You can use a single ONLYOFFICE Document Builder instance to work with all your files, but you need to close the previous file before you can start working with the next one in this case.

Example

Python

builder = docbuilder.CDocBuilder()
builder.CloseFile()

.docbuilder

builder.CloseFile();