Skip to main content
You are viewing help content for a version that is no longer maintained/updated.
All docs
V21.2
  • SnapDocument.SaveDocument(String, 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 file 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(
        string fileName,
        DocumentFormat format
    )

    Parameters

    Name Type Description
    fileName String

    A String value, specifying the file name.

    format DocumentFormat

    A DocumentFormat structure.

    See Also