Document Methods | 
The Document type exposes the following members.
| Name | Description | |
|---|---|---|
| Close | 
            Close the document. If the document is modified it will be saved using the default save logic (see save).
              | |
| Close(Boolean) | 
            Close the Document.
              | |
| Delete | 
            Deletes an element.
              | |
| Dispose | (Overrides Wrapper.Dispose.) | |
| FindByCaption | 
            Finds an Component by its caption. 
              | |
| FindByName | 
            Finds an Component by its name. 
              | |
| FindElementByCaptionPath | 
            Finds an Element (Sheet or WindowlessComponent) by it's path.
              | |
| GetProperties | 
            Gets a PropertyBag for the specified key.
              | |
| ReleaseFile | 
            Releases the write lock on the Document File (empx). 
              | |
| Save | 
            Writes the document to the file specified by the Filename property. The SaveAs file dialog is displayed if the filename property
            is not set or the document/file is readonly
              | |
| Save(Boolean) | 
            Saves the document to the file specified by the Filename property.
              |