Example #1
0
        private async void PrintButtonClick(object sender, RoutedEventArgs e)
        {
            write_buffers(); // TODO temp

            printHelper.ResetElements();


            //save_ink(cur_page.ToString() + page_file_name);


            //go_to_page(2);


            foreach (var inkPage in pageBuffers)
            {
                printHelper.AddElement(
                    await bitMapHelper.UIElementToGridImage(inkPage.Value._grid)
                    );
            }



            // load/iterate through each page to capture the
            // pngs we need to print



            printHelper.showDialog();
        }