Skip to main content
You are viewing help content for a version that is no longer maintained/updated.
All docs
V21.2
  • 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.v21.2.dll

    NuGet Package: DevExpress.Win.Snap

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

    Parameters

    Name Type Description
    stream Stream

    A Stream object.

    documentFormat DocumentFormat

    A DocumentFormat structure.

    See Also