Skip to main content
You are viewing help content for a version that is no longer maintained/updated.
All docs
V21.2
  • .NET Framework 4.5.2+
    • The page you are viewing does not exist in the .NET Standard 2.0+ platform documentation. This link will take you to the parent topic of the current section.

    SnapDocumentServer.SaveDocument(Stream, DocumentFormat) Method

    OBSOLETE

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

    Saves the document to a stream in the specified format.

    Namespace: DevExpress.Snap

    Assembly: DevExpress.Docs.v21.2.dll

    NuGet Package: DevExpress.Document.Processor

    Declaration

    [Browsable(false)]
    [Obsolete("This method overload has become obsolete. Use the Save method with the \"fileName\" parameter to save your documents in the native Snap format (.snx), and the Export 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