2010-08-05 109 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}”