[]
        
(Showing Draft Content)

C1.Win.Editor.C1Editor.SaveDocumentRequest

SaveDocumentRequest Method

SaveDocumentRequest(string, bool)

Runs the file dialog and saves the editor content to the selected file.

Declaration
[Obsolete("This method is deprecated, please, use SaveDocumentRequestAsync instead.")]
public void SaveDocumentRequest(string defaultFolder = "", bool restoreFolder = false)
Parameters
Type Name Description
string defaultFolder

Specifies the initial folder for the file dialog. The default value is the current folder.

bool restoreFolder

Specifies whether the original current folder should be restored after the dialog completes. The default value is false.