Back to Devexpress

SpreadsheetControl.SaveDocument Method

wpf-devexpress-dot-xpf-dot-spreadsheet-dot-spreadsheetcontrol-dot-savedocument.md

latest2.9 KB
Original Source

SpreadsheetControl.SaveDocument Method

NameParametersDescription
SaveDocument()noneSaves a document to the original file location, and for a new document, the method invokes the Save As modal dialog box.
SaveDocument(DocumentFormat, EncryptionSettings)format, encryptionSettingsSaves a document to an array of bytes in the specified format and with specified encryption settings.
SaveDocument(DocumentFormat)formatSaves a document to an array of bytes in the specified format.
SaveDocument(Stream, DocumentFormat, EncryptionSettings)stream, format, encryptionSettingsSaves the workbook to a stream, specifying the export format and encryption settings.
SaveDocument(Stream, DocumentFormat)stream, formatSaves the workbook to a stream, specifying the export format.
SaveDocument(String, DocumentFormat, EncryptionSettings)fileName, format, encryptionSettingsSaves the control’s document to a file, specifying the document’s format and encryption settings.
SaveDocument(String, DocumentFormat)fileName, formatSaves the control’s document to a file, specifying the document’s format.
SaveDocument(String, EncryptionSettings)fileName, encryptionSettingsSaves the document to the specified file with the specified encryption settings. The file format is identified by the file extension.
SaveDocument(String)fileNameSaves the document to the specified file in the Excel or text format. The file format is identified by the file extension.
SaveDocument(IWin32Window)parentSaves a document to the original file location. For a new document, the method invokes the Save As modal dialog box with the specified owner.