2010-08-05 104 views
1

我正在使用Silverlight 4 RichTextBox來捕獲將要打印的數據。我的問題是,當我打印使用周圍RichTextBox的邊界下面的代碼也印,即使當了borderThickness,被設定爲0打印Silverlight 4 RichTextBox內容

PrintDocument theDoc = new PrintDocument(); 
      theDoc.PrintPage += (s, args) => 
      { 
       args.PageVisual = MyRTB; 
       args.HasMorePages = false; 
      }; 

回答

0

與BorderBrush =排序「{X:NULL}」