Beispiel #1
0
        private void exportImage_Click(object sender, RoutedEventArgs e)
        {
            var savingHandler = new SaveHandler("Png files (*.png)|*.png|All files (*.*)|*.*");
            var path          = savingHandler.GetPath();

            ImageHandler.ExportToImage(canvas, path);
        }
Beispiel #2
0
        private void exportTxt_Click(object sender, RoutedEventArgs e)
        {
            var savingHandler = new SaveHandler("Text files (*.txt)|*.txt|All files (*.*)|*.*");
            var path          = savingHandler.GetPath();

            TextHandler.ExportToTextFile(builder.Array, xDimension, yDimension, path);
        }