/// <summary> /// Saves the current drawing to application local storage in the given file. /// The user will not have access to this storage, the file is for /// application use only. The method may throw exceptions if the /// filename is invalid or the storage fails. /// </summary> /// <param name="filename">name of the file to be created</param> public static void SaveGraphicsImageToLocalStoreAsPNG(string filename) { manager.SaveVisualElementToLocalStorageAsPNG(filename); }