public static async Task<InAppInking> InitializeInking(StorageFolder dataFolder) { InAppInking inking = new InAppInking(dataFolder); inking.InkingFolder = await getInkingFolder(dataFolder); await inking.LoadInkDictionary(); return inking; }
public async Task RemoveInAppInking() { foreach (StorageFile inkFile in await InkingFolder.GetFilesAsync()) { await inkFile.DeleteAsync(); } inAppInkStrokes = new Dictionary<int, List<InkStroke>>(); inAppInking = await InAppInking.InitializeInking(appFolder); //foreach (List<InkStroke> list in inAppInkStrokes.Values) //{ // list.Clear(); //} }