Example #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);
        }
Example #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();
        }