Skip to main content
A newer version of this page is available.

SnapControl.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

Assembly: DevExpress.Snap.v19.1.dll

Declaration

[Browsable(false)]
[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.")]
public void SaveDocument(
    Stream stream,
    DocumentFormat documentFormat
)

Parameters

Name Type Description
stream Stream

A Stream object.

documentFormat DocumentFormat

A DocumentFormat structure.

See Also