Skip to main content
All docs
V21.2

SnapDocument.SaveDocument(Stream, DocumentFormat) Method

OBSOLETE

This method overload has become obsolete. Use the SaveDocument method with the "fileName" parameter to save your documents in the native Snap format (.snx), and the ExportDocument(string, DocumentFormat) method - to store your documents in other formats.

Saves the document to a stream in the specified format.

Namespace: DevExpress.Snap.Core.API

Assembly: DevExpress.Snap.v21.2.Core.dll

NuGet Package: DevExpress.Snap.Core

Declaration

[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("This method overload has become obsolete. Use the SaveDocument method with the \"fileName\" parameter to save your documents in the native Snap format (.snx), and the ExportDocument(string, DocumentFormat) method - to store your documents in other formats.")]
void SaveDocument(
    Stream stream,
    DocumentFormat format
)

Parameters

Name Type Description
stream Stream

A Stream object.

format DocumentFormat

A DocumentFormat structure.

See Also