예제 #1
0
 /// <summary>
 /// Native save file dialog
 /// </summary>
 /// <param name="title">Dialog title</param>
 /// <param name="directory">Root directory</param>
 /// <param name="defaultName">Default file name</param>
 /// <param name="extensions">List of extension filters. Filter Example: new ExtensionFilter("Image Files", "jpg", "png")</param>
 /// <returns>Returns chosen path. Empty string when cancelled</returns>
 public static string SaveFilePanel(string title, string directory, string defaultName, ExtensionFilter[] extensions)
 {
     return(_platformWrapper.SaveFilePanel(title, directory, defaultName, extensions));
 }
예제 #2
0
 /// <summary>
 /// Native save file dialog
 /// </summary>
 /// <param name="_title">Dialog title</param>
 /// <param name="_directory">Root directory</param>
 /// <param name="_defaultName">Default file name</param>
 /// <param name="_extensions">List of extension filters. Filter Example: new ExtensionFilter("Image Files", "jpg", "png")</param>
 /// <returns>Returns chosen path. Empty string when cancelled</returns>
 public static string SaveFilePanel(string _title, string _directory, string _defaultName, ExtensionFilter[] _extensions)
 {
     return(_platformWrapper.SaveFilePanel(_title, _directory, _defaultName, _extensions));
 }