ExportToPDF() public static method

public static ExportToPDF ( Result result ) : void
result Result
return void
コード例 #1
0
        private void ExportComboBox_SelectionChanged(object sender, RoutedEventArgs e)
        {
            if (ExportComboBox.SelectedIndex == 0)
            {
                ResultsExporter.ExportToPDF(this.result);
            }
            else if (ExportComboBox.SelectedIndex == 1)
            {
                ResultsExporter.ExportToCSV(this.result);
            }
            else if (ExportComboBox.SelectedIndex == 2)
            {
                ResultsExporter.ExportToXML(this.result);
            }

            ExportComboBox.SelectedIndex = -1;
        }
コード例 #2
0
 private void ExportPDFButton_Click(object sender, RoutedEventArgs e)
 {
     ResultsExporter.ExportToPDF(this.result);
 }