public static async Task <InkingManager> InitializeInking(StorageFolder dataFolder, PdfModel pdfModel) { InkingManager inkManager = new InkingManager(dataFolder); inkManager.inAppInking = await InkingInApp.InitializeInking(dataFolder); inkManager.pdfModel = pdfModel; return(inkManager); }
public static async Task <InkingInApp> InitializeInking(StorageFolder dataFolder) { InkingInApp inking = new InkingInApp(dataFolder) { InkingFolder = await dataFolder.CreateFolderAsync(INKING_FOLDER, CreationCollisionOption.OpenIfExists), ErasedFolder = await dataFolder.CreateFolderAsync(ERASED_FOLDER, CreationCollisionOption.OpenIfExists) }; return(inking); }
public async Task RemoveInAppInking() { await inAppInking.RemoveInking(); inAppInking = await InkingInApp.InitializeInking(appFolder); }