title: WPF: How do you print in Landscape mode?
body: <p>found <a href="http://www.switchonthecode.com/tutorials/printing-in-wpf" rel="noreferrer">this function</a> online, which works great... except I can't figure out how to default it to print in landscape.</p>
  
  <pre><code>private void PrintClick(object sender, RoutedEventArgs e)
  {
    PrintDialog dialog = new PrintDialog();
    if (dialog.ShowDialog() == true)
    { dialog.PrintVisual(_PrintCanvas, "My Canvas"); }
  }
  </code></pre>
  
  <p>How does one actually set the default to print my wpf content to landscape mode?</p>