public void PrintChosen() { object graphresults = new object(); PDFConverter pdfconv = new PDFConverter(SearchResults, _searchSettings, graphresults, DateTime.Now.ToString()); }
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) { } }