officefileapi-devexpress-dot-spreadsheet-dot-ispreadsheetcomponent-dot-savedocument.md
| Name | Parameters | Description |
|---|---|---|
| SaveDocument(DocumentFormat, EncryptionSettings) | format, encryptionSettings | Saves a document to an array of bytes in the specified format with the specified encryption settings. |
| SaveDocument(DocumentFormat) | format | Saves a document to an array of bytes in the specified format. |
| SaveDocument(Stream, DocumentFormat, EncryptionSettings) | stream, format, encryptionSettings | Saves the document to a stream, specifying the document format anf encryption options. |
| SaveDocument(Stream, DocumentFormat) | stream, format | Saves the document to a stream, specifying the document format. |
| SaveDocument(String, DocumentFormat, EncryptionSettings) | fileName, format, encryptionSettings | Saves the document to a file, specifying the document format and encryption options. |
| SaveDocument(String, DocumentFormat) | fileName, format | Saves the document to a file, specifying the document format. |
| SaveDocument(String, EncryptionSettings) | fileName, encryptionSettings | Saves the document to the specified file with the specified encryption options. The file format is identified by the file extension. |
| SaveDocument(String) | fileName | Saves the document to the specified file. The file format is identified by the file extension. |