Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 2
0
        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);
        }
Ejemplo n.º 3
0
        public async Task RemoveInAppInking()
        {
            await inAppInking.RemoveInking();

            inAppInking = await InkingInApp.InitializeInking(appFolder);
        }