Beispiel #1
0
        private void PdfToJpegButton_Click(object sender, RoutedEventArgs e)
        {
            if (string.IsNullOrEmpty(_outputPath))
            {
                System.Windows.MessageBox.Show("Output is empty");
                return;
            }

            var pdfWorker = new PdftkWorker(_outputPath);

            pdfWorker.PdfToJpges(_pdfPath, MonochromeCheck.IsChecked.Value);
        }
Beispiel #2
0
        private void MergePdfsButton_Click(object sender, RoutedEventArgs e)
        {
            if (string.IsNullOrEmpty(_outputPath))
            {
                System.Windows.MessageBox.Show("Output is empty");
                return;
            }

            var pdfWorker = new PdftkWorker(_outputPath);

            pdfWorker.JoinPdfs();
        }