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.v18.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(
string fileName,
DocumentFormat documentFormat
)
Parameters
Name | Type | Description |
---|---|---|
fileName | String | A String value specifying the file name. |
documentFormat | DocumentFormat | A DocumentFormat structure. |
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the SaveDocument(String, DocumentFormat) method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.