Keiwando.NFSO.NativeFileSOMacWin

instance method

SelectSavePathSync

public string SelectSavePathSync (FileToSave file, string title, string directory) 

Summary

Presents a native dialog to the user which allows them to select a save location for the specified file.

Parameters

file

An instance of the FileToSave class which holds information about the file to be exported.

title

The title of the dialog. Note: The title is not shown on macOS 10.11 and above.

directory

The default directory in which file navigation should start. If this value is empty, the panel will remember the last visited directory.

Returns

The selected save location. Returns null if no path was selected.