Exemplo n.º 1
0
        public void SaveTextWord(object obj)
        {
            var path = SaveWordFileDialog();

            if (string.IsNullOrEmpty(path))
            {
                return;
            }
            Task.Factory.StartNew(delegate
            {
                var fileManipulator = new FileManipulator();
                fileManipulator.SaveToWord(path, RecognizedText);
            });
        }
 public void SaveTextWord(object obj)
 {
     var path = SaveWordFileDialog();
     if (string.IsNullOrEmpty(path))
         return;
     Task.Factory.StartNew(delegate
     {
         var fileManipulator = new FileManipulator();
         fileManipulator.SaveToWord(path, RecognizedText);
     });
 }