Jason

Jason

  • NA
  • 31
  • 0

Trouble printing

Sep 7 2011 8:16 PM
Having trouble printing, the example I found was for FixedDocument printing, but the margins won't change when I mess with the following code...

  TextBlock page1text = new TextBlock();
  page1text.Text = textBox1.Text;
  page1text.Margin = new Thickness(0.1, 0.1, 0.1, 0.1);
  page1text.Padding = new Thickness(0.5, 0.5, 0.5, 0.5);

The left side goes off the page a bit.  It's a WPF app, just trying to print a large multiline textBox.

Thanks!