To delete a document in Microsoft Word, you typically need to navigate to the folder where the document is saved using File Explorer (Windows) or Finder (Mac). Once you find the document, you can right-click on it and select "Delete" from the context menu. Alternatively, you can select the document and press the "Delete" key on your keyboard.
As for renaming the title of a document, you can do this by opening the document in Word, then clicking on "File" > "Save As". In the dialog that appears, you can enter a new name for the document in the "File name" field before saving it. This will change the title of the document.
If you're using the Open XML SDK to rename a document programmatically, you would need to change the file extension and ensure that the document is closed before renaming it.
References: