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