示例#1
0
 public void PrintChosen()
 {
     object graphresults = new object();
       PDFConverter pdfconv = new PDFConverter(SearchResults, _searchSettings, graphresults, DateTime.Now.ToString());
 }
示例#2
0
        public void ExecutePDFCreation()
        {
            try
              {
            PDFConverter pdfcon = new PDFConverter(_resultsReturned, _searchSettings, _graphResults, WhatToAppend);
            if (UseSearch && !UseGraph)
            {
              pdfcon.ExecuteCreation("result", NumberOfSearchResults);
            }
            if (UseGraph && !UseSearch)
            {
              pdfcon.ExecuteCreation("graph", NumberOfSearchResults);
            }
            else
              pdfcon.ExecuteCreation("", NumberOfSearchResults);

              }
              catch (Exception)
              {

              }
        }