I am using C# to generate a Window (scrollbar) with a lot of results: Window ResultsWindow = new Window();
At the bottom, there are two buttons, i.e. Cancel and Print. The first one does what it should. Nevertheless, the Print button should somehow convert the Window into a PDF File, or maybe one step inbetween where the user can save it afterwards.
private void Print_click(object sender, RoutedEventArgs e)
{
//add code to print the whole window??
ResultsWindow.Close();
}
Does anyone of you have an idea how this could work?
Best regards
