Back to Devexpress

ISpreadsheetComponent.SaveDocument(Stream, DocumentFormat, EncryptionSettings) Method

officefileapi-devexpress-dot-spreadsheet-dot-ispreadsheetcomponent-dot-savedocument-x28-system-dot-io-dot-stream-devexpress-dot-spreadsheet-dot-documentformat-devexpress-dot-spreadsheet-dot-encryptionsettings-x29.md

latest1.9 KB
Original Source

ISpreadsheetComponent.SaveDocument(Stream, DocumentFormat, EncryptionSettings) Method

Saves the document to a stream, specifying the document format anf encryption options.

Namespace : DevExpress.Spreadsheet

Assembly : DevExpress.Spreadsheet.v25.2.Core.dll

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
void SaveDocument(
    Stream stream,
    DocumentFormat format,
    EncryptionSettings encryptionSettings
)
vb
Sub SaveDocument(
    stream As Stream,
    format As DocumentFormat,
    encryptionSettings As EncryptionSettings
)

Parameters

NameTypeDescription
streamStream

The stream used to output the document.

| | format | DocumentFormat |

A DocumentFormat enumeration member specifying the document format.

| | encryptionSettings | EncryptionSettings |

Document encryption options.

|

See Also

ISpreadsheetComponent Interface

ISpreadsheetComponent Members

DevExpress.Spreadsheet Namespace