Skip to main content
All docs
V21.2

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

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(
    string fileName,
    DocumentFormat documentFormat
)

Parameters

Name Type Description
fileName String

A String value specifying the file name.

documentFormat DocumentFormat

A DocumentFormat structure.

See Also